#E2D262#E2D262
#E2D262 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.134 H 101.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D262 |
|---|---|
| RGB | rgb(226, 210, 98) |
| HSL | hsl(53, 69%, 64%) |
| HSV | hsv(53, 57%, 89%) |
| CMYK | cmyk(0%, 7.1%, 56.6%, 11.4%) |
| CIE-LAB | lab(83.52, -8.26, 56.47) |
| CIE-LCH | lch(83.52, 57.08, 98.32°) |
| OKLab | oklab(85.51% -0.0261 0.1312) |
| OKLCH | oklch(85.51% 0.134 101.3) |
| XYZ | xyz(56.6172, 63.1459, 20.7590) |
| Luminance | 0.6314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.04
Sandy
#F1DA7A
ΔE00 3.76
Sand Yellow
#FCE166
ΔE00 4.88
Sand (survey)
#E2CA76
ΔE00 4.93
Light Mustard
#F7D560
ΔE00 5.03
Pale Gold
#FDDE6C
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D262 #6272E2
analogous
#E29262 #E2D262 #B2E262
triadic
#E2D262 #62E2D2 #D262E2
tetradic
#E2D262 #62E292 #6272E2 #E262B2
square
#E2D262 #62E292 #6272E2 #E262B2
split-complementary
#E2D262 #62B2E2 #9262E2
monochromatic
#AA991F #D8C32E #E2D262 #ECE196 #F5F0C9
Accessibility & contrast
On white
1.54
#E2D262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.63
#E2D262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D262
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D262 | 1.00 | 1.54 | 13.63 | 13.63 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#F1C5B9
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e2d262; /* rgb */ color: rgb(226, 210, 98); /* oklch */ color: oklch(85.5% 0.134 101.3);
Tailwind
colors: {
custom: {
50: '#eedf92',
500: '#e2d262',
950: '#000000',
},
}SCSS
$custom: #e2d262; $custom-light: #eedf92; $custom-dark: #000000;
JSON
{
"hex": "#e2d262",
"rgb": {
"r": 226,
"g": 210,
"b": 98
},
"hsl": {
"h": 52.5,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.85509,
"c": 0.13376,
"h": 101.3
},
"luminance": 0.63144
}Semantic roles & 50–950 ramp
primary
#E2D262
secondary
#3C4AAC
accent
#2CD115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F