#E7D262#E7D262
#E7D262 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.134 H 98.8°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D262 |
|---|---|
| RGB | rgb(231, 210, 98) |
| HSL | hsl(51, 73%, 65%) |
| HSV | hsv(51, 58%, 91%) |
| CMYK | cmyk(0%, 9.1%, 57.6%, 9.4%) |
| CIE-LAB | lab(83.95, -6.21, 57.08) |
| CIE-LCH | lch(83.95, 57.41, 96.21°) |
| OKLab | oklab(85.95% -0.0205 0.1324) |
| OKLCH | oklch(85.95% 0.134 98.8) |
| XYZ | xyz(58.2084, 63.9664, 20.8336) |
| Luminance | 0.6396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.97
Sandy
#F1DA7A
ΔE00 3.11
Light Mustard
#F7D560
ΔE00 3.69
Sand Yellow
#FCE166
ΔE00 4.06
Pale Gold
#FDDE6C
ΔE00 4.09
Maize
#F4D054
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D262 #6277E7
analogous
#E78F62 #E7D262 #BAE762
triadic
#E7D262 #62E7D2 #D262E7
tetradic
#E7D262 #62E78F #6277E7 #E762BA
square
#E7D262 #62E78F #6277E7 #E762BA
split-complementary
#E7D262 #62BAE7 #8F62E7
monochromatic
#B39B1B #DFC32D #E7D262 #EFE197 #F7F0CC
Accessibility & contrast
On white
1.52
#E7D262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#E7D262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D262
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D262 | 1.00 | 1.52 | 13.79 | 13.79 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#F7C5B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e7d262; /* rgb */ color: rgb(231, 210, 98); /* oklch */ color: oklch(86.0% 0.134 98.8);
Tailwind
colors: {
custom: {
50: '#f1df92',
500: '#e7d262',
950: '#000000',
},
}SCSS
$custom: #e7d262; $custom-light: #f1df92; $custom-dark: #000000;
JSON
{
"hex": "#e7d262",
"rgb": {
"r": 231,
"g": 210,
"b": 98
},
"hsl": {
"h": 50.526,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.85951,
"c": 0.13395,
"h": 98.8
},
"luminance": 0.63964
}Semantic roles & 50–950 ramp
primary
#E7D262
secondary
#3A4DB4
accent
#2FD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F