#DAF562#DAF562
#DAF562 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.3% C 0.173 H 118.7°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).
Color values
| HEX | #DAF562 |
|---|---|
| RGB | rgb(218, 245, 98) |
| HSL | hsl(71, 88%, 67%) |
| HSV | hsv(71, 60%, 96%) |
| CMYK | cmyk(11%, 0%, 60%, 3.9%) |
| CIE-LAB | lab(92.17, -28.54, 65.95) |
| CIE-LCH | lch(92.17, 71.86, 113.40°) |
| OKLab | oklab(92.27% -0.083 0.1516) |
| OKLCH | oklch(92.27% 0.173 118.7) |
| XYZ | xyz(63.7715, 81.0925, 23.8458) |
| Luminance | 0.8109 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 3.11
Yellow Green
#C8FD3D
ΔE00 4.62
Yellowy Green
#BFF128
ΔE00 4.86
Lime Yellow
#D0FE1D
ΔE00 5.19
Sickly Yellow
#D0E429
ΔE00 5.29
Greeny Yellow
#C6F808
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DAF562 #7D62F5
analogous
#F5C662 #DAF562 #91F562
triadic
#DAF562 #62DAF5 #F562DA
tetradic
#DAF562 #62F5C6 #7D62F5 #F56291
square
#DAF562 #62F5C6 #7D62F5 #F56291
split-complementary
#DAF562 #6291F5 #C662F5
monochromatic
#ACCF0D #CCF128 #DAF562 #E8F99C #F5FCD5
Accessibility & contrast
On white
1.22
#DAF562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.22
#DAF562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DAF562
17.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DAF562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DAF562 | 1.00 | 1.22 | 17.22 | 17.22 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#E6E9D6
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #daf562; /* rgb */ color: rgb(218, 245, 98); /* oklch */ color: oklch(92.3% 0.173 118.7);
Tailwind
colors: {
custom: {
50: '#e8f894',
500: '#daf562',
950: '#000000',
},
}SCSS
$custom: #daf562; $custom-light: #e8f894; $custom-dark: #000000;
JSON
{
"hex": "#daf562",
"rgb": {
"r": 218,
"g": 245,
"b": 98
},
"hsl": {
"h": 71.02,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.9227,
"c": 0.17281,
"h": 118.7
},
"luminance": 0.81092
}Semantic roles & 50–950 ramp
primary
#DAF562
secondary
#4D30CB
accent
#01E52B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F