#DAF978#DAF978
#DAF978 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.4% C 0.159 H 120.8°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).
Color values
| HEX | #DAF978 |
|---|---|
| RGB | rgb(218, 249, 120) |
| HSL | hsl(74, 91%, 72%) |
| HSV | hsv(74, 52%, 98%) |
| CMYK | cmyk(12.4%, 0%, 51.8%, 2.4%) |
| CIE-LAB | lab(93.46, -28.63, 57.86) |
| CIE-LCH | lch(93.46, 64.56, 116.32°) |
| OKLab | oklab(93.37% -0.0813 0.1365) |
| OKLCH | oklch(93.37% 0.159 120.8) |
| XYZ | xyz(66.1798, 84.0130, 30.4953) |
| Luminance | 0.8401 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 3.06
Light Yellow Green
#CCFD7F
ΔE00 3.46
Light Pea Green
#C4FE82
ΔE00 5.06
Pale Lime
#BEFD73
ΔE00 5.18
Yellow Green
#C8FD3D
ΔE00 5.66
Light Lime Green
#B9FF66
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DAF978 #9778F9
analogous
#F9D878 #DAF978 #99F978
triadic
#DAF978 #78DAF9 #F978DA
tetradic
#DAF978 #78F9D8 #9778F9 #F97899
square
#DAF978 #78F9D8 #9778F9 #F97899
split-complementary
#DAF978 #7899F9 #D878F9
monochromatic
#B6EC0A #CAF63D #DAF978 #EAFCB3 #F7FEE2
Accessibility & contrast
On white
1.18
#DAF978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.80
#DAF978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DAF978
17.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DAF978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DAF978 | 1.00 | 1.18 | 17.80 | 17.80 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#E4EEDC
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #daf978; /* rgb */ color: rgb(218, 249, 120); /* oklch */ color: oklch(93.4% 0.159 120.8);
Tailwind
colors: {
custom: {
50: '#e8fba2',
500: '#daf978',
950: '#000000',
},
}SCSS
$custom: #daf978; $custom-light: #e8fba2; $custom-dark: #000000;
JSON
{
"hex": "#daf978",
"rgb": {
"r": 218,
"g": 249,
"b": 120
},
"hsl": {
"h": 74.419,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.93367,
"c": 0.15886,
"h": 120.8
},
"luminance": 0.84013
}Semantic roles & 50–950 ramp
primary
#DAF978
secondary
#6440D5
accent
#00E637
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580