#F0E68C

#F0E68C (Khaki)

Luminance: 0.7701 • Optimal Foreground: Black Text (#000000)

HEX Code

#F0E68C

RGB Channels

240, 230, 140

HSL Values

54°, 77%, 75%

Foreground Text

#000000

Color Space Specifications

Calculated color space values computed deterministically from #F0E68C.

Color ModelValueAction
HEX#F0E68C
RGBrgb(240, 230, 140)
HSLhsl(54deg, 77%, 75%)
HSV / HSBhsv(54deg, 42%, 94%)
CMYKcmyk(0%, 4%, 42%, 6%)
CIE XYZX:68.967, Y:77.014, Z:36.038
CIELABlab(90.3% -9 45)
CIELCHlch(90.3% 45.9 101.3)
OKLABoklab(0.9135 -0.0249 0.1091)
OKLCHoklch(0.9135 0.1119 102.86)
Relative Luminance0.7701
Recommended Text#000000

Prominent Complementary Pair

Base color #F0E68C paired side-by-side with its exact 180° mathematical complement #8E98F0.

Base: #F0E68C
Complement: #8E98F0

Color Wheel Harmony Schemes

Standard design harmony formulas generated relative to #F0E68C.

Complementary (180°)High-contrast opposing color on the 360° color wheel.
#F0E68C
#8E98F0
Analogous (-30°, 0°, +30°)Adjacent colors offering harmonious, low-contrast natural cohesion.
#F0B58E
#F0E78E
#C9F08E
Triadic (120°, 240°)Three evenly spaced colors on the wheel forming a balanced triangle.
#F0E68C
#8EF0E7
#E78EF0
Split-Complementary (150°, 210°)Base color paired with the two adjacent neighbors of its complement.
#F0E68C
#8EC9F0
#B58EF0
Tetradic / Double Complementary (90°, 180°, 270°)Four colors arranged into two complementary pairs.
#F0E68C
#8EF0B5
#8E98F0
#F08EC9
MonochromaticVariations in lightness and saturation along the identical hue angle.
#443E09
#958813
#E2CE1D
#ECE06F
#F6F0BB

Color Variations & Scales

Progressive mathematical shades, tints, and tones generated for #F0E68C.

Shades are created by progressively mixing black (#000000) into the base color, decreasing lightness while preserving hue.

#F0E68C
#D5CC7C
#BBB36D
#A0995D
#85804E
#6B663E
#504D2F
#35331F
#1B1A10
#000000

WCAG 2.2 Accessibility & Contrast Audit

Legibility evaluations testing #F0E68C against standard white and black text backgrounds according to W3C guidelines.

Text on White (#FFFFFF)1.28 : 1

Sample Text in #F0E68C

Sub-text body paragraph example.

Normal Text AA (≥ 4.5:1)FAIL
Large Text AA (≥ 3.0:1)FAIL
Normal Text AAA (≥ 7.0:1)FAIL
Large Text AAA (≥ 4.5:1)FAIL
UI Components (≥ 3.0:1)FAIL
Text on Black (#000000)16.4 : 1

Sample Text in #F0E68C

Sub-text body paragraph example.

Normal Text AA (≥ 4.5:1)PASS
Large Text AA (≥ 3.0:1)PASS
Normal Text AAA (≥ 7.0:1)PASS
Large Text AAA (≥ 4.5:1)PASS
UI Components (≥ 3.0:1)PASS

WCAG 2.2 Standard Note: Contrast ratio measures relative luminance difference between foreground and background. AA compliance requires at least 4.5:1 for body text (under 18pt) and 3.0:1 for large text or UI controls. AAA compliance requires 7.0:1 for normal body text.

CSS & Developer Snippets

Copyable production-ready CSS syntax and design tokens formatted for modern web standards.

HEX Color#F0E68C
HEX Backgroundbackground-color: #F0E68C;
CSS RGBrgb(240, 230, 140)
Modern CSS RGBrgb(240 230 140)
CSS HSLhsl(54deg 77% 75%)
CSS LABlab(90.3% -9 45)
CSS LCHlch(90.3% 45.9 101.3)
CSS OKLABoklab(0.9135 -0.0249 0.1091)
CSS OKLCHoklch(0.9135 0.1119 102.86)
CSS Variable--color-f0e68c: #F0E68C;
Design Token--color-primary: #F0E68C;
Tailwind Classbg-[#F0E68C]

Curated Palettes Featuring #F0E68C

Sage & Dusty Rose Wedding

Wedding

Lavender & Eucalyptus Dream

Wedding

Blush & Terracotta Romance

Wedding

Factual Color Summary & FAQ for #F0E68C

What color is #F0E68C?

#F0E68C is an sRGB color defined by Red: 240, Green: 230, Blue: 140. In digital design catalogs, it is closely identified with "Khaki".Its calculated relative luminance value is 0.7701.

How do you convert #F0E68C across color spaces?

In HSL, #F0E68C measures 54° Hue, 77% Saturation, and 75% Lightness. In modern OKLCH, L is 0.9135, Chroma is 0.1119, and Hue angle is 102.86°. For commercial print (CMYK), values are Cyan: 0%, Magenta: 4%, Yellow: 42%, and Key (Black): 6%.

Is #F0E68C WCAG 2.2 Accessible?

Against pure white (#FFFFFF), #F0E68C achieves a 1.28:1 contrast ratio. Against pure black (#000000), it achieves a 16.4:1 contrast ratio. The optimal readable text foreground for #F0E68C is Black (#000000).