#F2D276

Closest named color: Sandy (#F1DA7A). oklch(87.2% 0.117 90.7), rgb(242, 210, 118).

Aa

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

About this color

#F2D276 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.117 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.019 away. Black text reads best on it, at 14.25:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.25:1
White text1.47:1

Values

HEX#F2D276
RGBrgb(242, 210, 118)
HSLhsl(45, 83%, 71%)
OKLCHoklch(87.2% 0.117 90.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 #F2D276 1.47:1 Fails Lc -25.3 Dividers and decoration only
Black text on #F2D276 14.25:1 AAA Lc 81.4 Fine for body text
#F2D276 text on white 1.47:1 Fails Lc 22.3 Dividers and decoration only
#F2D276 text on black 14.25:1 AAA Lc -81.0 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

    #FAF5E7

    oklch(97% 0.019 90.5)

  2. Step 100

    100

    #F5E9CA

    oklch(93.6% 0.043 89.4)

  3. Step 200

    200 (this color)

    #F2D276

    oklch(87.2% 0.117 90.7)

  4. Step 300

    300

    #E5BC34

    oklch(80.9% 0.151 91)

  5. Step 400

    400

    #C39C00

    oklch(70.8% 0.145 90.8)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#F2D276 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)#E4CF6E0.024
Deuteranopia (no green cones)#ECD9790.018
Tritanopia (no blue cones)#FFC5BC0.104
Achromatopsia (no color)#D5D5D50.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2D276

    #F2D276

    oklch(87.2% 0.117 90.7)

  • #C5D4FF

    #C5D4FF

    oklch(87.3% 0.062 270)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2D276

    #F2D276

    oklch(87.2% 0.117 90.7)

  • #FFC89C

    #FFC89C

    oklch(87.1% 0.085 60)

  • #CAE187

    #CAE187

    oklch(87.2% 0.118 120.6)

Open the analogous palette in the generator

Split complementary

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

  • #F2D276

    #F2D276

    oklch(87.2% 0.117 90.7)

  • #ACDCFF

    #ACDCFF

    oklch(87.3% 0.07 240.2)

  • #DDCAFF

    #DDCAFF

    oklch(87.2% 0.075 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2D276

    #F2D276

    oklch(87.2% 0.117 90.7)

  • #6DE9FF

    #6DE9FF

    oklch(87.1% 0.114 210.8)

  • #FFBBF7

    #FFBBF7

    oklch(87.3% 0.109 330.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2D276

    #F2D276

    oklch(87.2% 0.117 90.7)

  • #70EED9

    #70EED9

    oklch(87.2% 0.117 181)

  • #C5D4FF

    #C5D4FF

    oklch(87.3% 0.062 270)

  • #FFC1D2

    #FFC1D2

    oklch(87.1% 0.074 0.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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