#F2F04D

Closest named color: Off Yellow (#F1F33F). oklch(92.9% 0.176 108.7), rgb(242, 240, 77).

Aa

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

About this color

#F2F04D is a very light, vivid yellow. In OKLCH its lightness is 93%, its chroma 0.176 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Off Yellow (#F1F33F), ΔE 0.013 away. Black text reads best on it, at 17.34:1.

Hue familyYellows
Lightnessvery light (93%)
Chromavivid (0.176)
Temperaturewarm
Nearest nameOff Yellow (#F1F33F)
Black text17.34:1
White text1.21:1

Values

HEX#F2F04D
RGBrgb(242, 240, 77)
HSLhsl(59, 86%, 63%)
OKLCHoklch(92.9% 0.176 108.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 #F2F04D 1.21:1 Fails Lc -11.9 Not readable
Black text on #F2F04D 17.34:1 AAA Lc 93.3 Preferred for body text
#F2F04D text on white 1.21:1 Fails Lc 10.2 Not readable
#F2F04D text on black 17.34:1 AAA Lc -93.9 Preferred 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

    #F7F8E0

    oklch(97.2% 0.031 108.9)

  2. Step 100

    100 (this color)

    #F2F04D

    oklch(92.9% 0.176 108.7)

  3. Step 200

    200

    #E0E079

    oklch(88.5% 0.126 108.7)

  4. Step 300

    300

    #CBC800

    oklch(80.9% 0.175 108.7)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#F2F04D 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)#FFE6330.027
Deuteranopia (no green cones)#FFEC590.024
Tritanopia (no blue cones)#FFE1D00.158
Achromatopsia (no color)#E9E9E90.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2F04D

    #F2F04D

    oklch(92.9% 0.176 108.7)

  • #E6E4FF

    #E6E4FF

    oklch(92.9% 0.036 289.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2F04D

    #F2F04D

    oklch(92.9% 0.176 108.7)

  • #FFE3B8

    #FFE3B8

    oklch(92.8% 0.064 78.4)

  • #B5FF9F

    #B5FF9F

    oklch(92.9% 0.145 138.7)

Open the analogous palette in the generator

Split complementary

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

  • #F2F04D

    #F2F04D

    oklch(92.9% 0.176 108.7)

  • #DAE9FF

    #DAE9FF

    oklch(93% 0.034 257.9)

  • #F7DDFF

    #F7DDFF

    oklch(92.9% 0.053 318.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2F04D

    #F2F04D

    oklch(92.9% 0.176 108.7)

  • #CBEEFF

    #CBEEFF

    oklch(92.9% 0.043 228.7)

  • #FFDCEC

    #FFDCEC

    oklch(92.8% 0.044 348.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2F04D

    #F2F04D

    oklch(92.9% 0.176 108.7)

  • #97FBFF

    #97FBFF

    oklch(92.8% 0.094 199)

  • #E6E4FF

    #E6E4FF

    oklch(92.9% 0.036 289.1)

  • #FFDEDE

    #FFDEDE

    oklch(92.8% 0.037 17.8)

Open the square palette in the generator

Palettes and gradients that use #F2F04D

These curated palettes and gradients contain exactly #F2F04D. Open one to see the full color scheme around it.

Gradients

Similar named colors

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

Use #F2F04D 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.