#E2D682#E2D682
#E2D682 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.8% C 0.106 H 101.2°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D682 |
|---|---|
| RGB | rgb(226, 214, 130) |
| HSL | hsl(53, 62%, 70%) |
| HSV | hsv(53, 42%, 89%) |
| CMYK | cmyk(0%, 5.3%, 42.5%, 11.4%) |
| CIE-LAB | lab(84.93, -7.47, 42.88) |
| CIE-LCH | lch(84.93, 43.52, 99.89°) |
| OKLab | oklab(86.75% -0.0206 0.104) |
| OKLCH | oklch(86.75% 0.106 101.2) |
| XYZ | xyz(59.4411, 65.8754, 30.6988) |
| Luminance | 0.6587 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.62
Sandy
#F1DA7A
ΔE00 3.72
Sand (survey)
#E2CA76
ΔE00 4.21
Wheat (survey)
#FBDD7E
ΔE00 5.63
Greenish Beige
#C9D179
ΔE00 5.79
Palegoldenrod
#EEE8AA
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D682 #828EE2
analogous
#E2A682 #E2D682 #BEE282
triadic
#E2D682 #82E2D6 #D682E2
tetradic
#E2D682 #82E2A6 #828EE2 #E282BE
square
#E2D682 #82E2A6 #828EE2 #E282BE
split-complementary
#E2D682 #82BEE2 #A682E2
monochromatic
#BEAB2C #D6C650 #E2D682 #EEE6B4 #F9F7E5
Accessibility & contrast
On white
1.48
#E2D682 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.17
#E2D682 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D682
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D682 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D682 | 1.00 | 1.48 | 14.17 | 14.17 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4D17B
Deuteranopia (green-blind)
#E8D685
Tritanopia (blue-blind)
#EFCBC1
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d682; /* rgb */ color: rgb(226, 214, 130); /* oklch */ color: oklch(86.8% 0.106 101.2);
Tailwind
colors: {
custom: {
50: '#ece2a7',
500: '#e2d682',
950: '#000000',
},
}SCSS
$custom: #e2d682; $custom-light: #ece2a7; $custom-dark: #000000;
JSON
{
"hex": "#e2d682",
"rgb": {
"r": 226,
"g": 214,
"b": 130
},
"hsl": {
"h": 52.5,
"s": 62.338,
"l": 69.804
},
"oklch": {
"l": 0.86752,
"c": 0.10598,
"h": 101.2
},
"luminance": 0.65874
}Semantic roles & 50–950 ramp
primary
#E2D682
secondary
#4E5CBA
accent
#31CA1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#161510
muted
#858480