#F2D66F

Closest named color: Sandy (#F1DA7A). oklch(87.9% 0.127 94.4), rgb(242, 214, 111).

Aa

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

About this color

#F2D66F is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.127 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.012 away. Black text reads best on it, at 14.62:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.62:1
White text1.43:1

Values

HEX#F2D66F
RGBrgb(242, 214, 111)
HSLhsl(47, 83%, 69%)
OKLCHoklch(87.9% 0.127 94.4)

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 #F2D66F 1.43:1 Fails Lc -23.7 Dividers and decoration only
Black text on #F2D66F 14.62:1 AAA Lc 82.9 Fine for body text
#F2D66F text on white 1.43:1 Fails Lc 20.8 Dividers and decoration only
#F2D66F text on black 14.62:1 AAA Lc -82.6 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 200.

  1. Step 50

    50

    #FAF6E5

    oklch(97.2% 0.023 96)

  2. Step 100

    100

    #F4EAC7

    oklch(93.6% 0.047 93.9)

  3. Step 200

    200 (this color)

    #F2D66F

    oklch(87.9% 0.127 94.4)

  4. Step 300

    300

    #E3BE13

    oklch(81% 0.163 94.4)

  5. Step 400

    400

    #BE9E00

    oklch(70.7% 0.145 94.4)

  6. Step 500

    500

    #A38700

    oklch(63.1% 0.129 94.2)

  7. Step 600

    600

    #897100

    oklch(55.5% 0.114 94.1)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5F4E00

    oklch(42.9% 0.088 94.5)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#F2D66F 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)#E8D2650.021
Deuteranopia (no green cones)#F0DB730.012
Tritanopia (no blue cones)#FFC8BE0.115
Achromatopsia (no color)#D7D7D70.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2D66F

    #F2D66F

    oklch(87.9% 0.127 94.4)

  • #CBD5FF

    #CBD5FF

    oklch(87.9% 0.059 274.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2D66F

    #F2D66F

    oklch(87.9% 0.127 94.4)

  • #FFCC9C

    #FFCC9C

    oklch(87.9% 0.085 64.6)

  • #C5E686

    #C5E686

    oklch(88% 0.127 124.5)

Open the analogous palette in the generator

Split complementary

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

  • #F2D66F

    #F2D66F

    oklch(87.9% 0.127 94.4)

  • #B4DDFF

    #B4DDFF

    oklch(88% 0.064 243.6)

  • #E2CCFF

    #E2CCFF

    oklch(88% 0.073 304.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2D66F

    #F2D66F

    oklch(87.9% 0.127 94.4)

  • #85E8FF

    #85E8FF

    oklch(87.8% 0.098 214.5)

  • #FFC0F1

    #FFC0F1

    oklch(87.9% 0.095 334.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2D66F

    #F2D66F

    oklch(87.9% 0.127 94.4)

  • #61F2E1

    #61F2E1

    oklch(87.8% 0.126 184.5)

  • #CBD5FF

    #CBD5FF

    oklch(87.9% 0.059 274.6)

  • #FFC5D2

    #FFC5D2

    oklch(87.9% 0.068 3.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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