#EDF562#EDF562
#EDF562 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.7% C 0.168 H 112.1°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).
Color values
| HEX | #EDF562 |
|---|---|
| RGB | rgb(237, 245, 98) |
| HSL | hsl(63, 88%, 67%) |
| HSV | hsv(63, 60%, 96%) |
| CMYK | cmyk(3.3%, 0%, 60%, 3.9%) |
| CIE-LAB | lab(93.53, -21.06, 67.83) |
| CIE-LCH | lch(93.53, 71.02, 107.25°) |
| OKLab | oklab(93.7% -0.0631 0.1552) |
| OKLCH | oklch(93.7% 0.168 112.1) |
| XYZ | xyz(69.7839, 84.1927, 24.1276) |
| Luminance | 0.8419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.80
Pastel Yellow
#FFFE71
ΔE00 2.95
Butter Yellow
#FFFD74
ΔE00 3.06
Custard
#FFFD78
ΔE00 3.20
Light Yellow
#FFFE7A
ΔE00 3.23
Off Yellow
#F1F33F
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDF562 #6A62F5
analogous
#F5B362 #EDF562 #A4F562
triadic
#EDF562 #62EDF5 #F562ED
tetradic
#EDF562 #62F5B3 #6A62F5 #F562A4
square
#EDF562 #62F5B3 #6A62F5 #F562A4
split-complementary
#EDF562 #62A4F5 #B362F5
monochromatic
#C5CF0D #E6F128 #EDF562 #F4F99C #FAFCD5
Accessibility & contrast
On white
1.18
#EDF562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.84
#EDF562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDF562
17.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDF562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDF562 | 1.00 | 1.18 | 17.84 | 17.84 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB51
Deuteranopia (green-blind)
#FFEE6B
Tritanopia (blue-blind)
#FCE7D6
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #edf562; /* rgb */ color: rgb(237, 245, 98); /* oklch */ color: oklch(93.7% 0.168 112.1);
Tailwind
colors: {
custom: {
50: '#f6f894',
500: '#edf562',
950: '#000000',
},
}SCSS
$custom: #edf562; $custom-light: #f6f894; $custom-dark: #000000;
JSON
{
"hex": "#edf562",
"rgb": {
"r": 237,
"g": 245,
"b": 98
},
"hsl": {
"h": 63.265,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.93699,
"c": 0.16751,
"h": 112.1
},
"luminance": 0.84191
}Semantic roles & 50–950 ramp
primary
#EDF562
secondary
#3930CB
accent
#01E50D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F