#DAF162#DAF162
#DAF162 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.4% C 0.168 H 117.6°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).
Color values
| HEX | #DAF162 |
|---|---|
| RGB | rgb(218, 241, 98) |
| HSL | hsl(70, 84%, 66%) |
| HSV | hsv(70, 59%, 95%) |
| CMYK | cmyk(9.5%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(91.10, -26.66, 64.77) |
| CIE-LCH | lch(91.10, 70.05, 112.37°) |
| OKLab | oklab(91.41% -0.0778 0.149) |
| OKLCH | oklch(91.41% 0.168 117.6) |
| XYZ | xyz(62.5744, 78.6985, 23.4468) |
| Luminance | 0.7870 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 3.88
Sickly Yellow
#D0E429
ΔE00 4.78
Yellowy Green
#BFF128
ΔE00 5.29
Yellow Green
#C8FD3D
ΔE00 5.44
Lime Yellow
#D0FE1D
ΔE00 5.86
Greeny Yellow
#C6F808
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DAF162 #7962F1
analogous
#F1C162 #DAF162 #93F162
triadic
#DAF162 #62DAF1 #F162DA
tetradic
#DAF162 #62F1C1 #7962F1 #F16293
square
#DAF162 #62F1C1 #7962F1 #F16293
split-complementary
#DAF162 #6293F1 #C162F1
monochromatic
#AAC712 #CDEC2A #DAF162 #E7F69A #F4FBD2
Accessibility & contrast
On white
1.25
#DAF162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.74
#DAF162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DAF162
16.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DAF162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DAF162 | 1.00 | 1.25 | 16.74 | 16.74 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FEE66B
Tritanopia (blue-blind)
#E6E5D3
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #daf162; /* rgb */ color: rgb(218, 241, 98); /* oklch */ color: oklch(91.4% 0.168 117.6);
Tailwind
colors: {
custom: {
50: '#e8f594',
500: '#daf162',
950: '#000000',
},
}SCSS
$custom: #daf162; $custom-light: #e8f594; $custom-dark: #000000;
JSON
{
"hex": "#daf162",
"rgb": {
"r": 218,
"g": 241,
"b": 98
},
"hsl": {
"h": 69.65,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.91406,
"c": 0.16813,
"h": 117.6
},
"luminance": 0.78698
}Semantic roles & 50–950 ramp
primary
#DAF162
secondary
#4B33C4
accent
#05E029
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F