#E2B823#E2B823
#E2B823 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.8% C 0.156 H 91.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #E2B823 |
|---|---|
| RGB | rgb(226, 184, 35) |
| HSL | hsl(47, 77%, 51%) |
| HSV | hsv(47, 85%, 89%) |
| CMYK | cmyk(0%, 18.6%, 84.5%, 11.4%) |
| CIE-LAB | lab(76.42, 2.04, 72.94) |
| CIE-LCH | lch(76.42, 72.97, 88.40°) |
| OKLab | oklab(79.76% -0.0032 0.1555) |
| OKLCH | oklch(79.76% 0.156 91.2) |
| XYZ | xyz(48.8109, 50.5743, 8.7807) |
| Luminance | 0.5057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.62
Gold (survey)
#DBB40C
ΔE00 1.65
Dark Yellow
#D5B60A
ΔE00 3.32
Burnt Yellow
#D5AB09
ΔE00 3.47
Golden
#F5BF03
ΔE00 3.85
Mustard (survey)
#CEB301
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2B823 #234DE2
analogous
#E25823 #E2B823 #ADE223
triadic
#E2B823 #23E2B8 #B823E2
tetradic
#E2B823 #23E258 #234DE2 #E223AD
square
#E2B823 #23E258 #234DE2 #E223AD
split-complementary
#E2B823 #23ADE2 #5823E2
monochromatic
#7A6310 #B18F17 #E2B823 #E9C959 #F0DB8F
Accessibility & contrast
On white
1.89
#E2B823 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.11
#E2B823 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2B823
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2B823 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2B823 | 1.00 | 1.89 | 11.11 | 11.11 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#D8C12F
Tritanopia (blue-blind)
#F5A89E
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #e2b823; /* rgb */ color: rgb(226, 184, 35); /* oklch */ color: oklch(79.8% 0.156 91.2);
Tailwind
colors: {
custom: {
50: '#f0cc6e',
500: '#e2b823',
950: '#000000',
},
}SCSS
$custom: #e2b823; $custom-light: #f0cc6e; $custom-dark: #000000;
JSON
{
"hex": "#e2b823",
"rgb": {
"r": 226,
"g": 184,
"b": 35
},
"hsl": {
"h": 46.806,
"s": 76.707,
"l": 51.176
},
"oklch": {
"l": 0.79755,
"c": 0.15554,
"h": 91.2
},
"luminance": 0.50571
}Semantic roles & 50–950 ramp
primary
#E2B823
secondary
#273B82
accent
#5EF335
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#181308
muted
#86827D