#FFD02E

Closest named color: Gold (#FFD700). oklch(87.4% 0.169 91), rgb(255, 208, 46).

Aa

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

About this color

#FFD02E is a light, vivid yellow. In OKLCH its lightness is 87%, its chroma 0.169 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Gold (#FFD700), ΔE 0.023 away. Black text reads best on it, at 14.31:1.

Hue familyYellows
Lightnesslight (87%)
Chromavivid (0.169)
Temperaturewarm
Nearest nameGold (#FFD700)
Black text14.31:1
White text1.46:1

Values

HEX#FFD02E
RGBrgb(255, 208, 46)
HSLhsl(47, 100%, 59%)
OKLCHoklch(87.4% 0.169 91)

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 #FFD02E 1.46:1 Fails Lc -24.9 Dividers and decoration only
Black text on #FFD02E 14.31:1 AAA Lc 81.8 Fine for body text
#FFD02E text on white 1.46:1 Fails Lc 21.9 Dividers and decoration only
#FFD02E text on black 14.31:1 AAA Lc -81.4 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

    #FDF5E0

    oklch(97.1% 0.029 89.6)

  2. Step 100

    100

    #F9E9BB

    oklch(93.6% 0.062 91.1)

  3. Step 200

    200 (this color)

    #FFD02E

    oklch(87.4% 0.169 91)

  4. Step 300

    300

    #E8BB00

    oklch(80.9% 0.165 91.2)

  5. Step 400

    400

    #C29C00

    oklch(70.7% 0.145 91.2)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#FFD02E 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)#E8CD000.040
Deuteranopia (no green cones)#F4DB3A0.029
Tritanopia (no blue cones)#FFBEB30.149
Achromatopsia (no color)#D5D5D50.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #FFD02E

    #FFD02E

    oklch(87.4% 0.169 91)

  • #C6D4FF

    #C6D4FF

    oklch(87.3% 0.062 270.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFD02E

    #FFD02E

    oklch(87.4% 0.169 91)

  • #FFC99D

    #FFC99D

    oklch(87.3% 0.084 60.5)

  • #C6E65A

    #C6E65A

    oklch(87.5% 0.168 120.9)

Open the analogous palette in the generator

Split complementary

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

  • #FFD02E

    #FFD02E

    oklch(87.4% 0.169 91)

  • #AEDCFF

    #AEDCFF

    oklch(87.4% 0.068 241.3)

  • #DDCBFF

    #DDCBFF

    oklch(87.4% 0.073 300.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFD02E

    #FFD02E

    oklch(87.4% 0.169 91)

  • #72E9FF

    #72E9FF

    oklch(87.3% 0.111 211.3)

  • #FFBCF6

    #FFBCF6

    oklch(87.4% 0.107 331.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFD02E

    #FFD02E

    oklch(87.4% 0.169 91)

  • #00F7DB

    #00F7DB

    oklch(87.5% 0.158 180.6)

  • #C6D4FF

    #C6D4FF

    oklch(87.3% 0.062 270.9)

  • #FFC2D3

    #FFC2D3

    oklch(87.4% 0.073 0.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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