#F2D366

Closest named color: Light Mustard (#F7D560). oklch(87.2% 0.133 93.6), rgb(242, 211, 102).

Aa

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

About this color

#F2D366 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.133 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Light Mustard (#F7D560), ΔE 0.011 away. Black text reads best on it, at 14.28:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameLight Mustard (#F7D560)
Black text14.28:1
White text1.47:1

Values

HEX#F2D366
RGBrgb(242, 211, 102)
HSLhsl(47, 84%, 67%)
OKLCHoklch(87.2% 0.133 93.6)

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 #F2D366 1.47:1 Fails Lc -25.2 Dividers and decoration only
Black text on #F2D366 14.28:1 AAA Lc 81.6 Fine for body text
#F2D366 text on white 1.47:1 Fails Lc 22.2 Dividers and decoration only
#F2D366 text on black 14.28:1 AAA Lc -81.1 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

    #F5EAC5

    oklch(93.6% 0.05 93.4)

  3. Step 200

    200 (this color)

    #F2D366

    oklch(87.2% 0.133 93.6)

  4. Step 300

    300

    #E4BD00

    oklch(80.9% 0.166 93.9)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2500

    oklch(26.8% 0.055 93.5)

Export this scale for Tailwind in the Tailwind colors tool

#F2D366 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)#E6CF5B0.023
Deuteranopia (no green cones)#EED96B0.015
Tritanopia (no blue cones)#FFC5BB0.120
Achromatopsia (no color)#D5D5D50.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2D366

    #F2D366

    oklch(87.2% 0.133 93.6)

  • #C7D3FF

    #C7D3FF

    oklch(87.2% 0.062 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2D366

    #F2D366

    oklch(87.2% 0.133 93.6)

  • #FFC997

    #FFC997

    oklch(87.2% 0.089 64)

  • #C3E47E

    #C3E47E

    oklch(87.3% 0.134 123.8)

Open the analogous palette in the generator

Split complementary

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

  • #F2D366

    #F2D366

    oklch(87.2% 0.133 93.6)

  • #AFDBFF

    #AFDBFF

    oklch(87.2% 0.068 243.3)

  • #DFC9FF

    #DFC9FF

    oklch(87.2% 0.077 303.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2D366

    #F2D366

    oklch(87.2% 0.133 93.6)

  • #79E7FF

    #79E7FF

    oklch(87.1% 0.106 213.7)

  • #FFBCF2

    #FFBCF2

    oklch(87.3% 0.103 333.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2D366

    #F2D366

    oklch(87.2% 0.133 93.6)

  • #55F1DE

    #55F1DE

    oklch(87.2% 0.132 183.6)

  • #C7D3FF

    #C7D3FF

    oklch(87.2% 0.062 273.1)

  • #FFC2D0

    #FFC2D0

    oklch(87.3% 0.072 3.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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