#CDF166#CDF166
#CDF166 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.5% C 0.169 H 122.0°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CDF166 |
|---|---|
| RGB | rgb(205, 241, 102) |
| HSL | hsl(76, 83%, 67%) |
| HSV | hsv(76, 58%, 95%) |
| CMYK | cmyk(14.9%, 0%, 57.7%, 5.5%) |
| CIE-LAB | lab(90.25, -31.39, 61.89) |
| CIE-LCH | lch(90.25, 69.40, 116.89°) |
| OKLab | oklab(90.52% -0.0899 0.1436) |
| OKLCH | oklch(90.52% 0.169 122) |
| XYZ | xyz(59.0309, 76.8490, 24.2913) |
| Luminance | 0.7685 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 2.01
Light Yellow Green
#CCFD7F
ΔE00 3.99
Yellowy Green
#BFF128
ΔE00 4.70
Yellow Green
#C8FD3D
ΔE00 4.74
Pale Lime
#BEFD73
ΔE00 4.88
Light Pea Green
#C4FE82
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDF166 #8A66F1
analogous
#F1D066 #CDF166 #87F166
triadic
#CDF166 #66CDF1 #F166CD
tetradic
#CDF166 #66F1D0 #8A66F1 #F16687
square
#CDF166 #66F1D0 #8A66F1 #F16687
split-complementary
#CDF166 #6687F1 #D066F1
monochromatic
#9BCA12 #BBEC2E #CDF166 #DFF69E #F2FBD6
Accessibility & contrast
On white
1.28
#CDF166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.37
#CDF166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDF166
16.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDF166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDF166 | 1.00 | 1.28 | 16.37 | 16.37 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#F9E36F
Tritanopia (blue-blind)
#D6E6D3
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #cdf166; /* rgb */ color: rgb(205, 241, 102); /* oklch */ color: oklch(90.5% 0.169 122.0);
Tailwind
colors: {
custom: {
50: '#dff596',
500: '#cdf166',
950: '#000000',
},
}SCSS
$custom: #cdf166; $custom-light: #dff596; $custom-dark: #000000;
JSON
{
"hex": "#cdf166",
"rgb": {
"r": 205,
"g": 241,
"b": 102
},
"hsl": {
"h": 75.54,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.90516,
"c": 0.16941,
"h": 122
},
"luminance": 0.76849
}Semantic roles & 50–950 ramp
primary
#CDF166
secondary
#5A34C7
accent
#06E03E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F