#F2D174

Closest named color: Sunglow (#FFD166). oklch(87% 0.119 90.3), rgb(242, 209, 116).

Aa

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

About this color

#F2D174 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.119 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Sunglow (#FFD166), ΔE 0.022 away. Black text reads best on it, at 14.14:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameSunglow (#FFD166)
Black text14.14:1
White text1.48:1

Values

HEX#F2D174
RGBrgb(242, 209, 116)
HSLhsl(44, 83%, 70%)
OKLCHoklch(87% 0.119 90.3)

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 #F2D174 1.48:1 Fails Lc -25.8 Dividers and decoration only
Black text on #F2D174 14.14:1 AAA Lc 81.0 Fine for body text
#F2D174 text on white 1.48:1 Fails Lc 22.7 Dividers and decoration only
#F2D174 text on black 14.14:1 AAA Lc -80.5 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

    #FBF5E6

    oklch(97.1% 0.021 88.7)

  2. Step 100

    100

    #F5E9C9

    oklch(93.5% 0.044 89.9)

  3. Step 200

    200 (this color)

    #F2D174

    oklch(87% 0.119 90.3)

  4. Step 300

    300

    #E6BB30

    oklch(80.8% 0.152 90.3)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  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

#F2D174 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)#E3CE6C0.026
Deuteranopia (no green cones)#ECD8770.018
Tritanopia (no blue cones)#FFC4BB0.105
Achromatopsia (no color)#D4D4D40.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2D174

    #F2D174

    oklch(87% 0.119 90.3)

  • #C4D3FF

    #C4D3FF

    oklch(87% 0.063 270.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2D174

    #F2D174

    oklch(87% 0.119 90.3)

  • #FFC79A

    #FFC79A

    oklch(86.9% 0.087 60.1)

  • #C9E085

    #C9E085

    oklch(86.9% 0.119 120.5)

Open the analogous palette in the generator

Split complementary

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

  • #F2D174

    #F2D174

    oklch(87% 0.119 90.3)

  • #AADBFF

    #AADBFF

    oklch(86.9% 0.071 240.5)

  • #DCC9FF

    #DCC9FF

    oklch(86.9% 0.076 300.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2D174

    #F2D174

    oklch(87% 0.119 90.3)

  • #67E9FF

    #67E9FF

    oklch(87% 0.117 210.3)

  • #FFB9F7

    #FFB9F7

    oklch(86.9% 0.113 330.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2D174

    #F2D174

    oklch(87% 0.119 90.3)

  • #6EEED7

    #6EEED7

    oklch(87% 0.119 179.9)

  • #C4D3FF

    #C4D3FF

    oklch(87% 0.063 270.3)

  • #FFC0D2

    #FFC0D2

    oklch(87% 0.076 360)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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