#E2B72F#E2B72F
#E2B72F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.6% C 0.150 H 89.9°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #E2B72F |
|---|---|
| RGB | rgb(226, 183, 47) |
| HSL | hsl(46, 76%, 54%) |
| HSV | hsv(46, 79%, 89%) |
| CMYK | cmyk(0%, 19%, 79.2%, 11.4%) |
| CIE-LAB | lab(76.22, 2.91, 69.32) |
| CIE-LCH | lch(76.22, 69.38, 87.59°) |
| OKLab | oklab(79.61% 0.0003 0.1501) |
| OKLCH | oklch(79.61% 0.15 89.9) |
| XYZ | xyz(48.8136, 50.2442, 9.8158) |
| Luminance | 0.5024 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.43
Gold (survey)
#DBB40C
ΔE00 2.34
Burnt Yellow
#D5AB09
ΔE00 3.45
Dark Yellow
#D5B60A
ΔE00 4.01
Golden
#F5BF03
ΔE00 4.15
Macaroni And Cheese
#EFB435
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2B72F #2F5AE2
analogous
#E25E2F #E2B72F #B3E22F
triadic
#E2B72F #2FE2B7 #B72FE2
tetradic
#E2B72F #2FE25E #2F5AE2 #E22FB3
square
#E2B72F #2FE25E #2F5AE2 #E22FB3
split-complementary
#E2B72F #2FB3E2 #5E2FE2
monochromatic
#846912 #BA931A #E2B72F #E9CA65 #F1DC9A
Accessibility & contrast
On white
1.90
#E2B72F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.05
#E2B72F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2B72F
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2B72F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2B72F | 1.00 | 1.90 | 11.05 | 11.05 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB50D
Deuteranopia (green-blind)
#D7C138
Tritanopia (blue-blind)
#F5A79E
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #e2b72f; /* rgb */ color: rgb(226, 183, 47); /* oklch */ color: oklch(79.6% 0.150 89.9);
Tailwind
colors: {
custom: {
50: '#f0cc73',
500: '#e2b72f',
950: '#000000',
},
}SCSS
$custom: #e2b72f; $custom-light: #f0cc73; $custom-dark: #000000;
JSON
{
"hex": "#e2b72f",
"rgb": {
"r": 226,
"g": 183,
"b": 47
},
"hsl": {
"h": 45.587,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.79613,
"c": 0.15008,
"h": 89.9
},
"luminance": 0.50241
}Semantic roles & 50–950 ramp
primary
#E2B72F
secondary
#2B428A
accent
#63F236
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#181309
muted
#86827D