#FFD951

Closest named color: Light Mustard (#F7D560). oklch(89.4% 0.155 93.2), rgb(255, 217, 81).

Aa

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

About this color

#FFD951 is a light, vivid yellow. In OKLCH its lightness is 89%, its chroma 0.155 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Light Mustard (#F7D560), ΔE 0.021 away. Black text reads best on it, at 15.29:1.

Hue familyYellows
Lightnesslight (89%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameLight Mustard (#F7D560)
Black text15.29:1
White text1.37:1

Values

HEX#FFD951
RGBrgb(255, 217, 81)
HSLhsl(47, 100%, 66%)
OKLCHoklch(89.4% 0.155 93.2)

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 #FFD951 1.37:1 Fails Lc -20.7 Dividers and decoration only
Black text on #FFD951 15.29:1 AAA Lc 85.6 Fine for body text
#FFD951 text on white 1.37:1 Fails Lc 18.1 Dividers and decoration only
#FFD951 text on black 15.29:1 AAA Lc -85.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

    #FBF6E2

    oklch(97.2% 0.027 95.3)

  2. Step 100

    100

    #F7EABF

    oklch(93.7% 0.058 93.2)

  3. Step 200

    200 (this color)

    #FFD951

    oklch(89.4% 0.155 93.2)

  4. Step 300

    300

    #E5BD00

    oklch(81% 0.166 93.5)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48600

    oklch(63% 0.129 93)

  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

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#FFD951 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)#EFD53F0.030
Deuteranopia (no green cones)#F9E1580.020
Tritanopia (no blue cones)#FFC8BD0.138
Achromatopsia (no color)#DCDCDC0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #FFD951

    #FFD951

    oklch(89.4% 0.155 93.2)

  • #D0DBFF

    #D0DBFF

    oklch(89.5% 0.051 271.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFD951

    #FFD951

    oklch(89.4% 0.155 93.2)

  • #FFD2AB

    #FFD2AB

    oklch(89.3% 0.072 62.6)

  • #C8ED72

    #C8ED72

    oklch(89.4% 0.156 123.4)

Open the analogous palette in the generator

Split complementary

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

  • #FFD951

    #FFD951

    oklch(89.4% 0.155 93.2)

  • #BDE1FF

    #BDE1FF

    oklch(89.4% 0.056 243.6)

  • #E4D3FF

    #E4D3FF

    oklch(89.4% 0.062 302.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFD951

    #FFD951

    oklch(89.4% 0.155 93.2)

  • #95ECFF

    #95ECFF

    oklch(89.5% 0.088 213.1)

  • #FFC8F4

    #FFC8F4

    oklch(89.4% 0.084 333.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFD951

    #FFD951

    oklch(89.4% 0.155 93.2)

  • #24FDE6

    #24FDE6

    oklch(89.5% 0.155 183.1)

  • #D0DBFF

    #D0DBFF

    oklch(89.5% 0.051 271.9)

  • #FFCDD8

    #FFCDD8

    oklch(89.5% 0.058 3.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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