#E2B240#E2B240
#E2B240 is a light, vivid orange. Relative luminance 0.484; OKLCH L 78.7% C 0.138 H 85.2°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #E2B240 |
|---|---|
| RGB | rgb(226, 178, 64) |
| HSL | hsl(42, 74%, 57%) |
| HSV | hsv(42, 72%, 89%) |
| CMYK | cmyk(0%, 21.2%, 71.7%, 11.4%) |
| CIE-LAB | lab(75.07, 6.23, 62.06) |
| CIE-LCH | lch(75.07, 62.38, 84.26°) |
| OKLab | oklab(78.74% 0.0116 0.138) |
| OKLCH | oklch(78.74% 0.138 85.2) |
| XYZ | xyz(48.2127, 48.3830, 11.6490) |
| Luminance | 0.4838 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 2.95
Mustard
#DBB42C
ΔE00 3.69
Goldenrod
#DAA520
ΔE00 3.75
Burnt Yellow
#D5AB09
ΔE00 4.55
Gold (survey)
#DBB40C
ΔE00 5.04
Golden Rod
#F9BC08
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2B240 #4070E2
analogous
#E26140 #E2B240 #C1E240
triadic
#E2B240 #40E2B2 #B240E2
tetradic
#E2B240 #40E261 #4070E2 #E240C1
square
#E2B240 #40E261 #4070E2 #E240C1
split-complementary
#E2B240 #40C1E2 #6140E2
monochromatic
#926D16 #C7951E #E2B240 #EAC775 #F2DDAA
Accessibility & contrast
On white
1.97
#E2B240 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#E2B240 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2B240
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2B240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2B240 | 1.00 | 1.97 | 10.68 | 10.68 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B130
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#F5A29B
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #e2b240; /* rgb */ color: rgb(226, 178, 64); /* oklch */ color: oklch(78.7% 0.138 85.2);
Tailwind
colors: {
custom: {
50: '#f0c87b',
500: '#e2b240',
950: '#000000',
},
}SCSS
$custom: #e2b240; $custom-light: #f0c87b; $custom-dark: #000000;
JSON
{
"hex": "#e2b240",
"rgb": {
"r": 226,
"g": 178,
"b": 64
},
"hsl": {
"h": 42.222,
"s": 73.636,
"l": 56.863
},
"oklch": {
"l": 0.78738,
"c": 0.13849,
"h": 85.2
},
"luminance": 0.4838
}Semantic roles & 50–950 ramp
primary
#E2B240
secondary
#9EB1E0
accent
#6EF038
background
#FFFCF7
surface
#FFF8EE
border
#D7D1C9
text
#17130A
muted
#85827C