#FFDC2D

Closest named color: Sun Yellow (#FFDF22). oklch(89.8% 0.176 96.6), rgb(255, 220, 45).

Aa

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

About this color

#FFDC2D is a light, vivid yellow. In OKLCH its lightness is 90%, its chroma 0.176 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Sun Yellow (#FFDF22), ΔE 0.009 away. Black text reads best on it, at 15.52:1.

Hue familyYellows
Lightnesslight (90%)
Chromavivid (0.176)
Temperaturewarm
Nearest nameSun Yellow (#FFDF22)
Black text15.52:1
White text1.35:1

Values

HEX#FFDC2D
RGBrgb(255, 220, 45)
HSLhsl(50, 100%, 59%)
OKLCHoklch(89.8% 0.176 96.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 #FFDC2D 1.35:1 Fails Lc -19.6 Dividers and decoration only
Black text on #FFDC2D 15.52:1 AAA Lc 86.6 Fine for body text
#FFDC2D text on white 1.35:1 Fails Lc 17.1 Dividers and decoration only
#FFDC2D text on black 15.52:1 AAA Lc -86.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

    #FBF6DF

    oklch(97.1% 0.031 96.9)

  2. Step 100

    100

    #F6EBB9

    oklch(93.7% 0.066 97.1)

  3. Step 200

    200 (this color)

    #FFDC2D

    oklch(89.8% 0.176 96.6)

  4. Step 300

    300

    #E0BF00

    oklch(80.9% 0.167 96.5)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A08800

    oklch(63% 0.13 96.6)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#FFDC2D 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)#F3D7000.025
Deuteranopia (no green cones)#FCE23B0.014
Tritanopia (no blue cones)#FFCABD0.158
Achromatopsia (no color)#DDDDDD0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #FFDC2D

    #FFDC2D

    oklch(89.8% 0.176 96.6)

  • #D4DBFF

    #D4DBFF

    oklch(89.7% 0.05 276.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFDC2D

    #FFDC2D

    oklch(89.8% 0.176 96.6)

  • #FFD5AA

    #FFD5AA

    oklch(89.9% 0.073 67.3)

  • #BFF267

    #BFF267

    oklch(89.8% 0.176 126.6)

Open the analogous palette in the generator

Split complementary

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

  • #FFDC2D

    #FFDC2D

    oklch(89.8% 0.176 96.6)

  • #C2E1FF

    #C2E1FF

    oklch(89.7% 0.053 247.5)

  • #E8D3FF

    #E8D3FF

    oklch(89.8% 0.063 306.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFDC2D

    #FFDC2D

    oklch(89.8% 0.176 96.6)

  • #A0EBFF

    #A0EBFF

    oklch(89.8% 0.079 216.3)

  • #FFCBF0

    #FFCBF0

    oklch(89.8% 0.075 336.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFDC2D

    #FFDC2D

    oklch(89.8% 0.176 96.6)

  • #00FEEE

    #00FEEE

    oklch(89.8% 0.157 186.7)

  • #D4DBFF

    #D4DBFF

    oklch(89.7% 0.05 276.7)

  • #FFCFD7

    #FFCFD7

    oklch(89.8% 0.055 7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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