#F2D198

Closest named color: Vanilla (#E9D8A6). oklch(87.5% 0.082 80.9), rgb(242, 209, 152).

Aa

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

About this color

#F2D198 is a light, moderately saturated orange. In OKLCH its lightness is 88%, its chroma 0.082 and its hue 81°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.022 away. Black text reads best on it, at 14.34:1.

Hue familyOranges
Lightnesslight (88%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text14.34:1
White text1.46:1

Values

HEX#F2D198
RGBrgb(242, 209, 152)
HSLhsl(38, 78%, 77%)
OKLCHoklch(87.5% 0.082 80.9)

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 #F2D198 1.46:1 Fails Lc -25.0 Dividers and decoration only
Black text on #F2D198 14.34:1 AAA Lc 81.8 Fine for body text
#F2D198 text on white 1.46:1 Fails Lc 22.0 Dividers and decoration only
#F2D198 text on black 14.34:1 AAA Lc -81.3 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

    #FAF5EB

    oklch(97.1% 0.014 84.6)

  2. Step 100

    100

    #F5E8D4

    oklch(93.6% 0.03 78.8)

  3. Step 200

    200 (this color)

    #F2D198

    oklch(87.5% 0.082 80.9)

  4. Step 300

    300

    #E4BA6E

    oklch(81% 0.106 81.2)

  5. Step 400

    400

    #CF9500

    oklch(70.7% 0.146 80.7)

  6. Step 500

    500

    #B17F00

    oklch(63% 0.13 80.8)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7E5900

    oklch(49% 0.101 80.5)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #573C00

    oklch(37.7% 0.078 80.1)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#F2D198 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)#E0D0940.027
Deuteranopia (no green cones)#E8D99A0.023
Tritanopia (no blue cones)#FFC7C20.071
Achromatopsia (no color)#D5D5D50.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2D198

    #F2D198

    oklch(87.5% 0.082 80.9)

  • #C0D7FF

    #C0D7FF

    oklch(87.5% 0.061 261.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2D198

    #F2D198

    oklch(87.5% 0.082 80.9)

  • #FFC9AA

    #FFC9AA

    oklch(87.6% 0.074 51.3)

  • #D8DC9D

    #D8DC9D

    oklch(87.6% 0.082 111)

Open the analogous palette in the generator

Split complementary

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

  • #F2D198

    #F2D198

    oklch(87.5% 0.082 80.9)

  • #A3E0FF

    #A3E0FF

    oklch(87.6% 0.075 230.7)

  • #D5CFFF

    #D5CFFF

    oklch(87.5% 0.066 290.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2D198

    #F2D198

    oklch(87.5% 0.082 80.9)

  • #92E7EC

    #92E7EC

    oklch(87.6% 0.083 200.5)

  • #EFC5F7

    #EFC5F7

    oklch(87.5% 0.081 320.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2D198

    #F2D198

    oklch(87.5% 0.082 80.9)

  • #9EE8CF

    #9EE8CF

    oklch(87.5% 0.082 171.2)

  • #C0D7FF

    #C0D7FF

    oklch(87.5% 0.061 261.5)

  • #FFC1DC

    #FFC1DC

    oklch(87.4% 0.078 351)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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