#EDF962#EDF962
#EDF962 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.172 H 113.5°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF962 |
|---|---|
| RGB | rgb(237, 249, 98) |
| HSL | hsl(65, 93%, 68%) |
| HSV | hsv(65, 61%, 98%) |
| CMYK | cmyk(4.8%, 0%, 60.6%, 2.4%) |
| CIE-LAB | lab(94.58, -22.97, 68.96) |
| CIE-LCH | lch(94.58, 72.68, 108.42°) |
| OKLab | oklab(94.54% -0.0685 0.1576) |
| OKLCH | oklch(94.54% 0.172 113.5) |
| XYZ | xyz(71.0071, 86.6391, 24.5354) |
| Luminance | 0.8664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.79
Pastel Yellow
#FFFE71
ΔE00 3.19
Butter Yellow
#FFFD74
ΔE00 3.40
Banana Yellow
#FAFE4B
ΔE00 3.49
Light Yellow
#FFFE7A
ΔE00 3.50
Faded Yellow
#FEFF7F
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF962 #6E62F9
analogous
#F9B962 #EDF962 #A1F962
triadic
#EDF962 #62EDF9 #F962ED
tetradic
#EDF962 #62F9B9 #6E62F9 #F962A1
square
#EDF962 #62F9B9 #6E62F9 #F962A1
split-complementary
#EDF962 #62A1F9 #B962F9
monochromatic
#C8D808 #E6F727 #EDF962 #F4FB9D #FBFED8
Accessibility & contrast
On white
1.15
#EDF962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.33
#EDF962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF962
18.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF962 | 1.00 | 1.15 | 18.33 | 18.33 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE50
Deuteranopia (green-blind)
#FFF16C
Tritanopia (blue-blind)
#FBEBD9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #edf962; /* rgb */ color: rgb(237, 249, 98); /* oklch */ color: oklch(94.5% 0.172 113.5);
Tailwind
colors: {
custom: {
50: '#f6fb95',
500: '#edf962',
950: '#000000',
},
}SCSS
$custom: #edf962; $custom-light: #f6fb95; $custom-dark: #000000;
JSON
{
"hex": "#edf962",
"rgb": {
"r": 237,
"g": 249,
"b": 98
},
"hsl": {
"h": 64.768,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.94539,
"c": 0.1718,
"h": 113.5
},
"luminance": 0.86638
}Semantic roles & 50–950 ramp
primary
#EDF962
secondary
#3A2DD2
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F