#DAF166#DAF166
#DAF166 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.4% C 0.165 H 117.7°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).
Color values
| HEX | #DAF166 |
|---|---|
| RGB | rgb(218, 241, 102) |
| HSL | hsl(70, 83%, 67%) |
| HSV | hsv(70, 58%, 95%) |
| CMYK | cmyk(9.5%, 0%, 57.7%, 5.5%) |
| CIE-LAB | lab(91.13, -26.36, 63.12) |
| CIE-LCH | lch(91.13, 68.41, 112.67°) |
| OKLab | oklab(91.45% -0.0766 0.146) |
| OKLCH | oklch(91.45% 0.165 117.7) |
| XYZ | xyz(62.7680, 78.7759, 24.4664) |
| Luminance | 0.7877 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 3.84
Sickly Yellow
#D0E429
ΔE00 5.14
Yellowy Green
#BFF128
ΔE00 5.54
Yellow Green
#C8FD3D
ΔE00 5.64
Yellowish Tan
#FCFC81
ΔE00 5.90
Light Yellow Green
#CCFD7F
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DAF166 #7D66F1
analogous
#F1C366 #DAF166 #95F166
triadic
#DAF166 #66DAF1 #F166DA
tetradic
#DAF166 #66F1C3 #7D66F1 #F16695
square
#DAF166 #66F1C3 #7D66F1 #F16695
split-complementary
#DAF166 #6695F1 #C366F1
monochromatic
#ACCA12 #CCEC2E #DAF166 #E8F69E #F5FBD6
Accessibility & contrast
On white
1.25
#DAF166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.76
#DAF166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DAF166
16.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DAF166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DAF166 | 1.00 | 1.25 | 16.76 | 16.76 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FDE66F
Tritanopia (blue-blind)
#E6E5D3
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #daf166; /* rgb */ color: rgb(218, 241, 102); /* oklch */ color: oklch(91.4% 0.165 117.7);
Tailwind
colors: {
custom: {
50: '#e8f596',
500: '#daf166',
950: '#000000',
},
}SCSS
$custom: #daf166; $custom-light: #e8f596; $custom-dark: #000000;
JSON
{
"hex": "#daf166",
"rgb": {
"r": 218,
"g": 241,
"b": 102
},
"hsl": {
"h": 69.928,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.91446,
"c": 0.16487,
"h": 117.7
},
"luminance": 0.78775
}Semantic roles & 50–950 ramp
primary
#DAF166
secondary
#4D34C7
accent
#06E02A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F