#E7AB23

Closest named color: Squash (#F2AB15). oklch(77.7% 0.152 81.6), rgb(231, 171, 35).

Aa

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

About this color

#E7AB23 is a medium-light, vivid orange. In OKLCH its lightness is 78%, its chroma 0.152 and its hue 82°. Its hue sits on the warm side of the wheel. The nearest named color is Squash (#F2AB15), ΔE 0.018 away. Black text reads best on it, at 10.24:1.

Hue familyOranges
Lightnessmedium-light (78%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameSquash (#F2AB15)
Black text10.24:1
White text2.04:1

Values

HEX#E7AB23
RGBrgb(231, 171, 35)
HSLhsl(42, 80%, 52%)
OKLCHoklch(77.7% 0.152 81.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 #E7AB23 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #E7AB23 10.24:1 AAA Lc 64.3 Content text, not long reading
#E7AB23 text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#E7AB23 text on black 10.24:1 AAA Lc -62.6 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

    #FCF4E7

    oklch(97% 0.019 80.1)

  2. Step 100

    100

    #F9E8C9

    oklch(93.7% 0.045 82.6)

  3. Step 200

    200

    #F6D499

    oklch(88.5% 0.084 81)

  4. Step 300

    300 (this color)

    #E7AB23

    oklch(77.7% 0.152 81.6)

  5. Step 400

    400

    #CE9500

    oklch(70.6% 0.146 81.2)

  6. Step 500

    500

    #B18000

    oklch(63.2% 0.13 81.5)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7D5A00

    oklch(49.1% 0.101 82.2)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #563C00

    oklch(37.6% 0.078 81.1)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#E7AB23 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)#C3AC000.060
Deuteranopia (no green cones)#D1BB2B0.050
Tritanopia (no blue cones)#FB99930.134
Achromatopsia (no color)#B5B5B50.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7AB23

    #E7AB23

    oklch(77.7% 0.152 81.6)

  • #8EB7FF

    #8EB7FF

    oklch(77.8% 0.113 261.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7AB23

    #E7AB23

    oklch(77.7% 0.152 81.6)

  • #FF9958

    #FF9958

    oklch(77.7% 0.146 51.5)

  • #BABF38

    #BABF38

    oklch(77.7% 0.152 111.6)

Open the analogous palette in the generator

Split complementary

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

  • #E7AB23

    #E7AB23

    oklch(77.7% 0.152 81.6)

  • #40C5FF

    #40C5FF

    oklch(77.7% 0.139 231.7)

  • #B8A8FF

    #B8A8FF

    oklch(77.8% 0.123 291.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7AB23

    #E7AB23

    oklch(77.7% 0.152 81.6)

  • #00CFDA

    #00CFDA

    oklch(77.8% 0.132 201.6)

  • #E394F0

    #E394F0

    oklch(77.7% 0.152 321.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7AB23

    #E7AB23

    oklch(77.7% 0.152 81.6)

  • #00D5AB

    #00D5AB

    oklch(77.8% 0.151 171.7)

  • #8EB7FF

    #8EB7FF

    oklch(77.8% 0.113 261.3)

  • #FF8BC1

    #FF8BC1

    oklch(77.8% 0.152 351.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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