#E7BA27

Closest named color: Macaroni And Cheese (#EFB435). oklch(80.7% 0.156 89.9), rgb(231, 186, 39).

Aa

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

About this color

#E7BA27 is a light, vivid orange. In OKLCH its lightness is 81%, its chroma 0.156 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Macaroni And Cheese (#EFB435), ΔE 0.022 away. Black text reads best on it, at 11.45:1.

Hue familyOranges
Lightnesslight (81%)
Chromavivid (0.156)
Temperaturewarm
Nearest nameMacaroni And Cheese (#EFB435)
Black text11.45:1
White text1.83:1

Values

HEX#E7BA27
RGBrgb(231, 186, 39)
HSLhsl(46, 80%, 53%)
OKLCHoklch(80.7% 0.156 89.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 #E7BA27 1.83:1 Fails Lc -38.3 Non-text elements, placeholder text
Black text on #E7BA27 11.45:1 AAA Lc 69.7 Content text, not long reading
#E7BA27 text on white 1.83:1 Fails Lc 34.2 Non-text elements, placeholder text
#E7BA27 text on black 11.45:1 AAA Lc -68.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

    #EFD797

    oklch(88.4% 0.086 89.8)

  4. Step 300

    300 (this color)

    #E7BA27

    oklch(80.7% 0.156 89.9)

  5. Step 400

    400

    #C49B00

    oklch(70.7% 0.145 89.7)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #624C00

    oklch(42.8% 0.087 89.5)

  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

#E7BA27 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)#D1B8000.038
Deuteranopia (no green cones)#DBC4310.029
Tritanopia (no blue cones)#FBA9A00.143
Achromatopsia (no color)#BFBFBF0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7BA27

    #E7BA27

    oklch(80.7% 0.156 89.9)

  • #A7BDFF

    #A7BDFF

    oklch(80.6% 0.097 269.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7BA27

    #E7BA27

    oklch(80.7% 0.156 89.9)

  • #FFAA60

    #FFAA60

    oklch(80.7% 0.135 60.1)

  • #B4CE4D

    #B4CE4D

    oklch(80.7% 0.156 119.7)

Open the analogous palette in the generator

Split complementary

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

  • #E7BA27

    #E7BA27

    oklch(80.7% 0.156 89.9)

  • #7BC9FF

    #7BC9FF

    oklch(80.6% 0.109 240.2)

  • #CBAFFF

    #CBAFFF

    oklch(80.7% 0.114 299.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7BA27

    #E7BA27

    oklch(80.7% 0.156 89.9)

  • #00D7F1

    #00D7F1

    oklch(80.6% 0.139 210.1)

  • #F799F0

    #F799F0

    oklch(80.7% 0.156 329.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7BA27

    #E7BA27

    oklch(80.7% 0.156 89.9)

  • #00DEC3

    #00DEC3

    oklch(80.7% 0.147 179.8)

  • #A7BDFF

    #A7BDFF

    oklch(80.6% 0.097 269.9)

  • #FF9FBD

    #FF9FBD

    oklch(80.8% 0.119 359.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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