#E5B802

Closest named color: Dark Yellow (#D5B60A). oklch(80% 0.163 90.9), rgb(229, 184, 2).

Aa

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

About this color

#E5B802 is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.163 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.026 away. Black text reads best on it, at 11.18:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text11.18:1
White text1.87:1

Values

HEX#E5B802
RGBrgb(229, 184, 2)
HSLhsl(48, 98%, 45%)
OKLCHoklch(80% 0.163 90.9)

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 #E5B802 1.87:1 Fails Lc -39.5 Non-text elements, placeholder text
Black text on #E5B802 11.18:1 AAA Lc 68.6 Content text, not long reading
#E5B802 text on white 1.87:1 Fails Lc 35.3 Non-text elements, placeholder text
#E5B802 text on black 11.18:1 AAA Lc -67.2 Content text, not long reading

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 300.

  1. Step 50

    50

    #FBF5E5

    oklch(97.1% 0.022 89.8)

  2. Step 100

    100

    #F6E9C7

    oklch(93.6% 0.047 89.6)

  3. Step 200

    200

    #EFD793

    oklch(88.4% 0.09 90.8)

  4. Step 300

    300 (this color)

    #E5B802

    oklch(80% 0.163 90.9)

  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

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#E5B802 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)#CFB6000.035
Deuteranopia (no green cones)#DAC21C0.028
Tritanopia (no blue cones)#F9A79D0.149
Achromatopsia (no color)#BDBDBD0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #E5B802

    #E5B802

    oklch(80% 0.163 90.9)

  • #A5BAFF

    #A5BAFF

    oklch(79.9% 0.101 271)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E5B802

    #E5B802

    oklch(80% 0.163 90.9)

  • #FFA655

    #FFA655

    oklch(79.9% 0.142 60.7)

  • #AFCD44

    #AFCD44

    oklch(80% 0.163 120.9)

Open the analogous palette in the generator

Split complementary

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

  • #E5B802

    #E5B802

    oklch(80% 0.163 90.9)

  • #77C7FF

    #77C7FF

    oklch(80% 0.112 240.7)

  • #CBABFF

    #CBABFF

    oklch(80% 0.121 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E5B802

    #E5B802

    oklch(80% 0.163 90.9)

  • #00D5F0

    #00D5F0

    oklch(80% 0.139 210.8)

  • #F894EE

    #F894EE

    oklch(80% 0.163 330.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E5B802

    #E5B802

    oklch(80% 0.163 90.9)

  • #00DBC3

    #00DBC3

    oklch(79.9% 0.144 181.2)

  • #A5BAFF

    #A5BAFF

    oklch(79.9% 0.101 271)

  • #FF9BB9

    #FF9BB9

    oklch(80% 0.124 0.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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