#F2D972

Closest named color: Sandy (#F1DA7A). oklch(88.5% 0.126 96), rgb(242, 217, 114).

Aa

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

About this color

#F2D972 is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.126 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.007 away. Black text reads best on it, at 14.94:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.94:1
White text1.40:1

Values

HEX#F2D972
RGBrgb(242, 217, 114)
HSLhsl(48, 83%, 70%)
OKLCHoklch(88.5% 0.126 96)

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 #F2D972 1.40:1 Fails Lc -22.3 Dividers and decoration only
Black text on #F2D972 14.94:1 AAA Lc 84.2 Fine for body text
#F2D972 text on white 1.40:1 Fails Lc 19.5 Dividers and decoration only
#F2D972 text on black 14.94:1 AAA Lc -83.9 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

    #FAF6E6

    oklch(97.2% 0.021 95.3)

  2. Step 100

    100

    #F3EAC7

    oklch(93.5% 0.047 95.2)

  3. Step 200

    200 (this color)

    #F2D972

    oklch(88.5% 0.126 96)

  4. Step 300

    300

    #E0BF18

    oklch(80.9% 0.163 96.1)

  5. Step 400

    400

    #BC9F00

    oklch(70.7% 0.145 95.9)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#F2D972 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)#EBD5690.017
Deuteranopia (no green cones)#F2DD760.010
Tritanopia (no blue cones)#FFCCC10.113
Achromatopsia (no color)#D9D9D90.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2D972

    #F2D972

    oklch(88.5% 0.126 96)

  • #CFD7FF

    #CFD7FF

    oklch(88.6% 0.056 276.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2D972

    #F2D972

    oklch(88.5% 0.126 96)

  • #FFCFA0

    #FFCFA0

    oklch(88.5% 0.082 65.8)

  • #C4E98B

    #C4E98B

    oklch(88.6% 0.127 126.4)

Open the analogous palette in the generator

Split complementary

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

  • #F2D972

    #F2D972

    oklch(88.5% 0.126 96)

  • #BADEFF

    #BADEFF

    oklch(88.6% 0.059 246.2)

  • #E5CEFF

    #E5CEFF

    oklch(88.6% 0.071 306.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2D972

    #F2D972

    oklch(88.5% 0.126 96)

  • #91E9FF

    #91E9FF

    oklch(88.6% 0.09 215.5)

  • #FFC4EF

    #FFC4EF

    oklch(88.6% 0.087 336.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2D972

    #F2D972

    oklch(88.5% 0.126 96)

  • #62F4E6

    #62F4E6

    oklch(88.5% 0.126 186.4)

  • #CFD7FF

    #CFD7FF

    oklch(88.6% 0.056 276.3)

  • #FFC9D3

    #FFC9D3

    oklch(88.6% 0.063 6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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