#E7BB20
Closest named color: Golden (#F5BF03). oklch(80.8% 0.159 90.8), rgb(231, 187, 32).
Aa
Black text reads best on this color (11.52:1).
About this color
#E7BB20 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.159 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Golden (#F5BF03), ΔE 0.025 away. Black text reads best on it, at 11.52:1.
| Hue family | Yellows |
| Lightness | light (81%) |
| Chroma | vivid (0.159) |
| Temperature | warm |
| Nearest name | Golden (#F5BF03) |
| Black text | 11.52:1 |
| White text | 1.82:1 |
Values
| HEX | #E7BB20 |
| RGB | rgb(231, 187, 32) |
| HSL | hsl(47, 81%, 52%) |
| OKLCH | oklch(80.8% 0.159 90.8) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #E7BB20 | 1.82:1 | Fails | Lc -37.9 | Non-text elements, placeholder text |
| Black text on #E7BB20 | 11.52:1 | AAA | Lc 70.1 | Content text, not long reading |
| #E7BB20 text on white | 1.82:1 | Fails | Lc 33.8 | Non-text elements, placeholder text |
| #E7BB20 text on black | 11.52:1 | AAA | Lc -68.8 | 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.
-
Step 50
50
#FBF5E6
oklch(97.1% 0.021 88.7)
-
Step 100
100
#F5E9C8
oklch(93.5% 0.045 90.4)
-
Step 200
200
#EFD895
oklch(88.6% 0.089 91.3)
-
Step 300
300 (this color)
#E7BB20
oklch(80.8% 0.159 90.8)
-
Step 400
400
#C29C00
oklch(70.7% 0.145 91.2)
-
Step 500
500
#A78500
oklch(63.1% 0.129 90.6)
-
Step 600
600
#8C7000
oklch(55.6% 0.114 91.4)
-
Step 700
700
#765E00
oklch(49.2% 0.101 91.4)
-
Step 800
800
#614C00
oklch(42.6% 0.087 90.4)
-
Step 900
900
#513F00
oklch(37.6% 0.077 90.4)
-
Step 950
950
#312500
oklch(27.1% 0.055 90.3)
#E7BB20 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #D2B900 | 0.035 |
| Deuteranopia (no green cones) | #DCC52D | 0.028 |
| Tritanopia (no blue cones) | #FBAAA0 | 0.145 |
| Achromatopsia (no color) | #C0C0C0 | 0.159 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E7BB20
#E7BB20
oklch(80.8% 0.159 90.8)
- #A9BEFF
#A9BEFF
oklch(80.9% 0.095 270.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #E7BB20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Golden #F5BF03 ΔE 0.025
- Macaroni And Cheese #EFB435 ΔE 0.026
- Golden Rod #F9BC08 ΔE 0.028
- Dark Yellow #D5B60A ΔE 0.033
- Orangey Yellow #FDB915 ΔE 0.034
- Mustard Yellow #D2BD0A ΔE 0.034
- Marigold #FCC006 ΔE 0.036
- Amber #FFBE0B ΔE 0.039
Use #E7BB20 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.