#E2B21B

Closest named color: Dark Yellow (#D5B60A). oklch(78.5% 0.155 88.3), rgb(226, 178, 27).

Aa

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

About this color

#E2B21B is a light, vivid orange. In OKLCH its lightness is 79%, its chroma 0.155 and its hue 88°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.024 away. Black text reads best on it, at 10.61:1.

Hue familyOranges
Lightnesslight (79%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text10.61:1
White text1.97:1

Values

HEX#E2B21B
RGBrgb(226, 178, 27)
HSLhsl(46, 79%, 50%)
OKLCHoklch(78.5% 0.155 88.3)

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 #E2B21B 1.97:1 Fails Lc -42.4 Non-text elements, placeholder text
Black text on #E2B21B 10.61:1 AAA Lc 66.0 Content text, not long reading
#E2B21B text on white 1.97:1 Fails Lc 38.0 Non-text elements, placeholder text
#E2B21B text on black 10.61:1 AAA Lc -64.4 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

    #FBF5E6

    oklch(97.1% 0.021 88.7)

  2. Step 100

    100

    #F6E9C8

    oklch(93.6% 0.045 89.1)

  3. Step 200

    200

    #F1D797

    oklch(88.6% 0.086 88.4)

  4. Step 300

    300 (this color)

    #E2B21B

    oklch(78.5% 0.155 88.3)

  5. Step 400

    400

    #C69A00

    oklch(70.7% 0.145 88.1)

  6. Step 500

    500

    #AA8400

    oklch(63.2% 0.129 88.2)

  7. Step 600

    600

    #8F6E00

    oklch(55.5% 0.114 87.7)

  8. Step 700

    700

    #785C00

    oklch(49% 0.1 87.9)

  9. Step 800

    800

    #634B00

    oklch(42.6% 0.087 87.5)

  10. Step 900

    900

    #523F00

    oklch(37.8% 0.077 89.3)

  11. Step 950

    950

    #322400

    oklch(27% 0.055 86.6)

Export this scale for Tailwind in the Tailwind colors tool

#E2B21B 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)#C9B1000.041
Deuteranopia (no green cones)#D4BE270.034
Tritanopia (no blue cones)#F6A1980.141
Achromatopsia (no color)#B8B8B80.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #E2B21B

    #E2B21B

    oklch(78.5% 0.155 88.3)

  • #9CB7FF

    #9CB7FF

    oklch(78.7% 0.107 268.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E2B21B

    #E2B21B

    oklch(78.5% 0.155 88.3)

  • #FF9F4C

    #FF9F4C

    oklch(78.6% 0.15 58.6)

  • #B0C643

    #B0C643

    oklch(78.5% 0.155 118.3)

Open the analogous palette in the generator

Split complementary

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

  • #E2B21B

    #E2B21B

    oklch(78.5% 0.155 88.3)

  • #64C4FF

    #64C4FF

    oklch(78.5% 0.124 238.1)

  • #C3A7FF

    #C3A7FF

    oklch(78.5% 0.126 298.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E2B21B

    #E2B21B

    oklch(78.5% 0.155 88.3)

  • #00D0E6

    #00D0E6

    oklch(78.5% 0.135 208.2)

  • #EE93EB

    #EE93EB

    oklch(78.6% 0.155 328.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E2B21B

    #E2B21B

    oklch(78.5% 0.155 88.3)

  • #00D6BA

    #00D6BA

    oklch(78.4% 0.144 178.8)

  • #9CB7FF

    #9CB7FF

    oklch(78.7% 0.107 268.1)

  • #FF92B8

    #FF92B8

    oklch(78.6% 0.137 358.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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