#E7BC27

Closest named color: Golden (#F5BF03). oklch(81.1% 0.157 91), rgb(231, 188, 39).

Aa

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

About this color

#E7BC27 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.157 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Golden (#F5BF03), ΔE 0.024 away. Black text reads best on it, at 11.62:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameGolden (#F5BF03)
Black text11.62:1
White text1.80:1

Values

HEX#E7BC27
RGBrgb(231, 188, 39)
HSLhsl(47, 80%, 53%)
OKLCHoklch(81.1% 0.157 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 #E7BC27 1.80:1 Fails Lc -37.5 Non-text elements, placeholder text
Black text on #E7BC27 11.62:1 AAA Lc 70.5 Content text, not long reading
#E7BC27 text on white 1.80:1 Fails Lc 33.4 Non-text elements, placeholder text
#E7BC27 text on black 11.62:1 AAA Lc -69.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

    #FBF5E6

    oklch(97.1% 0.021 88.7)

  2. Step 100

    100

    #F5E9C8

    oklch(93.5% 0.045 90.4)

  3. Step 200

    200

    #EFD896

    oklch(88.6% 0.088 91.1)

  4. Step 300

    300 (this color)

    #E7BC27

    oklch(81.1% 0.157 91)

  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

#E7BC27 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)#D2BA000.036
Deuteranopia (no green cones)#DDC6320.027
Tritanopia (no blue cones)#FBABA10.143
Achromatopsia (no color)#C1C1C10.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7BC27

    #E7BC27

    oklch(81.1% 0.157 91)

  • #AABEFF

    #AABEFF

    oklch(81% 0.095 271)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7BC27

    #E7BC27

    oklch(81.1% 0.157 91)

  • #FFAC61

    #FFAC61

    oklch(81.1% 0.133 61.2)

  • #B3D050

    #B3D050

    oklch(81.1% 0.157 120.8)

Open the analogous palette in the generator

Split complementary

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

  • #E7BC27

    #E7BC27

    oklch(81.1% 0.157 91)

  • #80CAFF

    #80CAFF

    oklch(81.1% 0.105 240.9)

  • #CDB0FF

    #CDB0FF

    oklch(81% 0.113 300.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7BC27

    #E7BC27

    oklch(81.1% 0.157 91)

  • #00D9F4

    #00D9F4

    oklch(81.2% 0.141 210.6)

  • #FA99F0

    #FA99F0

    oklch(81% 0.158 330.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7BC27

    #E7BC27

    oklch(81.1% 0.157 91)

  • #00DFC6

    #00DFC6

    oklch(81% 0.146 180.9)

  • #AABEFF

    #AABEFF

    oklch(81% 0.095 271)

  • #FFA1BD

    #FFA1BD

    oklch(81.1% 0.116 0.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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