#EDF162#EDF162
#EDF162 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 92.9% C 0.163 H 110.7°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF162 |
|---|---|
| RGB | rgb(237, 241, 98) |
| HSL | hsl(62, 84%, 66%) |
| HSV | hsv(62, 59%, 95%) |
| CMYK | cmyk(1.7%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(92.49, -19.14, 66.69) |
| CIE-LCH | lch(92.49, 69.38, 106.01°) |
| OKLab | oklab(92.86% -0.0577 0.1527) |
| OKLCH | oklch(92.86% 0.163 110.7) |
| XYZ | xyz(68.5869, 81.7986, 23.7286) |
| Luminance | 0.8180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 3.07
Pastel Yellow
#FFFE71
ΔE00 3.08
Straw
#FCF679
ΔE00 3.18
Custard
#FFFD78
ΔE00 3.18
Canary
#FDFF63
ΔE00 3.21
Off Yellow
#F1F33F
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF162 #6662F1
analogous
#F1AE62 #EDF162 #A6F162
triadic
#EDF162 #62EDF1 #F162ED
tetradic
#EDF162 #62F1AE #6662F1 #F162A6
square
#EDF162 #62F1AE #6662F1 #F162A6
split-complementary
#EDF162 #62A6F1 #AE62F1
monochromatic
#C2C712 #E7EC2A #EDF162 #F3F69A #FAFBD2
Accessibility & contrast
On white
1.21
#EDF162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.36
#EDF162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF162
17.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF162 | 1.00 | 1.21 | 17.36 | 17.36 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#FCE3D3
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #edf162; /* rgb */ color: rgb(237, 241, 98); /* oklch */ color: oklch(92.9% 0.163 110.7);
Tailwind
colors: {
custom: {
50: '#f6f594',
500: '#edf162',
950: '#000000',
},
}SCSS
$custom: #edf162; $custom-light: #f6f594; $custom-dark: #000000;
JSON
{
"hex": "#edf162",
"rgb": {
"r": 237,
"g": 241,
"b": 98
},
"hsl": {
"h": 61.678,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.92861,
"c": 0.16328,
"h": 110.7
},
"luminance": 0.81797
}Semantic roles & 50–950 ramp
primary
#EDF162
secondary
#3733C4
accent
#05E00C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F