#F6DF5A

Closest named color: Sand Yellow (#FCE166). oklch(89.8% 0.152 99.5), rgb(246, 223, 90).

Aa

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

About this color

#F6DF5A is a light, vivid yellow. In OKLCH its lightness is 90%, its chroma 0.152 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Sand Yellow (#FCE166), ΔE 0.014 away. Black text reads best on it, at 15.62:1.

Hue familyYellows
Lightnesslight (90%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameSand Yellow (#FCE166)
Black text15.62:1
White text1.34:1

Values

HEX#F6DF5A
RGBrgb(246, 223, 90)
HSLhsl(51, 90%, 66%)
OKLCHoklch(89.8% 0.152 99.5)

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 #F6DF5A 1.34:1 Fails Lc -19.3 Dividers and decoration only
Black text on #F6DF5A 15.62:1 AAA Lc 86.8 Fine for body text
#F6DF5A text on white 1.34:1 Fails Lc 16.8 Dividers and decoration only
#F6DF5A text on black 15.62:1 AAA Lc -86.8 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

    #F9F6E3

    oklch(97% 0.025 99.5)

  2. Step 100

    100

    #F3EBC0

    oklch(93.6% 0.057 98.6)

  3. Step 200

    200 (this color)

    #F6DF5A

    oklch(89.8% 0.152 99.5)

  4. Step 300

    300

    #DBC100

    oklch(80.8% 0.168 99.5)

  5. Step 400

    400

    #B7A100

    oklch(70.7% 0.147 99.5)

  6. Step 500

    500

    #9D8A00

    oklch(63.1% 0.131 99.5)

  7. Step 600

    600

    #847400

    oklch(55.7% 0.116 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#F6DF5A 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)#F3D94A0.017
Deuteranopia (no green cones)#F9E2610.010
Tritanopia (no blue cones)#FFD0C30.136
Achromatopsia (no color)#DEDEDE0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #F6DF5A

    #F6DF5A

    oklch(89.8% 0.152 99.5)

  • #D6DBFF

    #D6DBFF

    oklch(89.9% 0.05 279.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F6DF5A

    #F6DF5A

    oklch(89.8% 0.152 99.5)

  • #FFD5A7

    #FFD5A7

    oklch(89.8% 0.076 69.2)

  • #BDF181

    #BDF181

    oklch(89.8% 0.151 129.5)

Open the analogous palette in the generator

Split complementary

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

  • #F6DF5A

    #F6DF5A

    oklch(89.8% 0.152 99.5)

  • #C4E1FF

    #C4E1FF

    oklch(89.8% 0.052 249.3)

  • #EBD2FF

    #EBD2FF

    oklch(89.8% 0.066 310)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F6DF5A

    #F6DF5A

    oklch(89.8% 0.152 99.5)

  • #A6EAFF

    #A6EAFF

    oklch(89.9% 0.074 219)

  • #FFCCED

    #FFCCED

    oklch(89.9% 0.071 339.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F6DF5A

    #F6DF5A

    oklch(89.8% 0.152 99.5)

  • #21FDF3

    #21FDF3

    oklch(89.8% 0.152 189.6)

  • #D6DBFF

    #D6DBFF

    oklch(89.9% 0.05 279.1)

  • #FFCFD6

    #FFCFD6

    oklch(89.8% 0.055 8.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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