#E2AF2F#E2AF2F
#E2AF2F is a light, vivid orange. Relative luminance 0.470; OKLCH L 78.0% C 0.147 H 85.2°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #E2AF2F |
|---|---|
| RGB | rgb(226, 175, 47) |
| HSL | hsl(43, 76%, 54%) |
| HSV | hsv(43, 79%, 89%) |
| CMYK | cmyk(0%, 22.6%, 79.2%, 11.4%) |
| CIE-LAB | lab(74.21, 7.12, 67.52) |
| CIE-LCH | lch(74.21, 67.90, 83.98°) |
| OKLab | oklab(78.04% 0.0123 0.1462) |
| OKLCH | oklch(78.04% 0.147 85.2) |
| XYZ | xyz(47.2102, 47.0374, 9.2814) |
| Luminance | 0.4703 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.69
Macaroni And Cheese
#EFB435
ΔE00 2.69
Mustard
#DBB42C
ΔE00 3.64
Burnt Yellow
#D5AB09
ΔE00 3.72
Gold (survey)
#DBB40C
ΔE00 4.58
Squash
#F2AB15
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2AF2F #2F62E2
analogous
#E2552F #E2AF2F #BBE22F
triadic
#E2AF2F #2FE2AF #AF2FE2
tetradic
#E2AF2F #2FE255 #2F62E2 #E22FBB
square
#E2AF2F #2FE255 #2F62E2 #E22FBB
split-complementary
#E2AF2F #2FBBE2 #552FE2
monochromatic
#846412 #BA8C1A #E2AF2F #E9C465 #F1D89A
Accessibility & contrast
On white
2.02
#E2AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#E2AF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2AF2F
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2AF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2AF2F | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF13
Deuteranopia (green-blind)
#D2BC36
Tritanopia (blue-blind)
#F59E97
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #e2af2f; /* rgb */ color: rgb(226, 175, 47); /* oklch */ color: oklch(78.0% 0.147 85.2);
Tailwind
colors: {
custom: {
50: '#f0c672',
500: '#e2af2f',
950: '#000000',
},
}SCSS
$custom: #e2af2f; $custom-light: #f0c672; $custom-dark: #000000;
JSON
{
"hex": "#e2af2f",
"rgb": {
"r": 226,
"g": 175,
"b": 47
},
"hsl": {
"h": 42.905,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.78035,
"c": 0.14672,
"h": 85.2
},
"luminance": 0.47034
}Semantic roles & 50–950 ramp
primary
#E2AF2F
secondary
#90A6DD
accent
#6BF236
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181309
muted
#86827B