#CFE166#CFE166
#CFE166 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.2% C 0.149 H 116.5°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CFE166 |
|---|---|
| RGB | rgb(207, 225, 102) |
| HSL | hsl(69, 67%, 64%) |
| HSV | hsv(69, 55%, 88%) |
| CMYK | cmyk(8%, 0%, 54.7%, 11.8%) |
| CIE-LAB | lab(86.04, -23.05, 57.16) |
| CIE-LCH | lch(86.04, 61.63, 111.96°) |
| OKLab | oklab(87.17% -0.0666 0.1334) |
| OKLCH | oklch(87.17% 0.149 116.5) |
| XYZ | xyz(55.0565, 68.0758, 22.8074) |
| Luminance | 0.6807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 5.55
Greenish Beige
#C9D179
ΔE00 5.69
Pear
#CBF85F
ΔE00 6.32
Yellowish Green
#B0DD16
ΔE00 6.73
Green Yellow
#B5CE08
ΔE00 7.19
Yellowy Green
#BFF128
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFE166 #7866E1
analogous
#E1B566 #CFE166 #92E166
triadic
#CFE166 #66CFE1 #E166CF
tetradic
#CFE166 #66E1B5 #7866E1 #E16692
square
#CFE166 #66E1B5 #7866E1 #E16692
split-complementary
#CFE166 #6692E1 #B566E1
monochromatic
#97AB22 #BFD733 #CFE166 #DFEB99 #EFF5CC
Accessibility & contrast
On white
1.44
#CFE166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.62
#CFE166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFE166
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFE166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFE166 | 1.00 | 1.44 | 14.62 | 14.62 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD75A
Deuteranopia (green-blind)
#EDD86D
Tritanopia (blue-blind)
#DAD6C6
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #cfe166; /* rgb */ color: rgb(207, 225, 102); /* oklch */ color: oklch(87.2% 0.149 116.5);
Tailwind
colors: {
custom: {
50: '#e0ea95',
500: '#cfe166',
950: '#000000',
},
}SCSS
$custom: #cfe166; $custom-light: #e0ea95; $custom-dark: #000000;
JSON
{
"hex": "#cfe166",
"rgb": {
"r": 207,
"g": 225,
"b": 102
},
"hsl": {
"h": 68.78,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.87171,
"c": 0.14914,
"h": 116.5
},
"luminance": 0.68075
}Semantic roles & 50–950 ramp
primary
#CFE166
secondary
#4E3EAD
accent
#16CF31
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F