#F0E67F

Closest named color: Khaki (#F0E68C). oklch(91.2% 0.125 103.7), rgb(240, 230, 127).

Aa

Black text reads best on this color (16.33:1).

About this color

#F0E67F is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.125 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.014 away. Black text reads best on it, at 16.33:1.

Hue familyYellows
Lightnessvery light (91%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text16.33:1
White text1.28:1

Values

HEX#F0E67F
RGBrgb(240, 230, 127)
HSLhsl(55, 79%, 72%)
OKLCHoklch(91.2% 0.125 103.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #F0E67F 1.28:1 Fails Lc -16.3 Dividers and decoration only
Black text on #F0E67F 16.33:1 AAA Lc 89.5 Fine for body text
#F0E67F text on white 1.28:1 Fails Lc 14.1 Not readable
#F0E67F text on black 16.33:1 AAA Lc -89.7 Fine for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 100.

  1. Step 50

    50

    #F8F6E6

    oklch(97% 0.021 101)

  2. Step 100

    100 (this color)

    #F0E67F

    oklch(91.2% 0.125 103.7)

  3. Step 200

    200

    #E3DD97

    oklch(88.6% 0.09 103.9)

  4. Step 300

    300

    #D3C428

    oklch(80.8% 0.161 103.5)

  5. Step 400

    400

    #B1A400

    oklch(70.7% 0.149 103.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#F0E67F with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#F6E0760.016
Deuteranopia (no green cones)#FAE5840.016
Tritanopia (no blue cones)#FEDACE0.114
Achromatopsia (no color)#E3E3E30.126

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #F0E67F

    #F0E67F

    oklch(91.2% 0.125 103.7)

  • #DDDFFF

    #DDDFFF

    oklch(91.2% 0.044 282.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0E67F

    #F0E67F

    oklch(91.2% 0.125 103.7)

  • #FFDBAE

    #FFDBAE

    oklch(91.1% 0.071 72.9)

  • #C0F49E

    #C0F49E

    oklch(91.1% 0.124 133.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #F0E67F

    #F0E67F

    oklch(91.2% 0.125 103.7)

  • #CEE4FF

    #CEE4FF

    oklch(91.1% 0.044 253.6)

  • #F1D7FF

    #F1D7FF

    oklch(91.3% 0.06 313.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0E67F

    #F0E67F

    oklch(91.2% 0.125 103.7)

  • #B8EBFF

    #B8EBFF

    oklch(91.1% 0.059 223.9)

  • #FFD3EC

    #FFD3EC

    oklch(91.2% 0.059 343.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0E67F

    #F0E67F

    oklch(91.2% 0.125 103.7)

  • #69FCFA

    #69FCFA

    oklch(91.2% 0.125 193.9)

  • #DDDFFF

    #DDDFFF

    oklch(91.2% 0.044 282.7)

  • #FFD6D9

    #FFD6D9

    oklch(91.2% 0.046 13.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #F0E67F, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #F0E67F in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.