#CFE26C#CFE26C
#CFE26C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.145 H 117.1°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CFE26C |
|---|---|
| RGB | rgb(207, 226, 108) |
| HSL | hsl(70, 67%, 65%) |
| HSV | hsv(70, 52%, 89%) |
| CMYK | cmyk(8.4%, 0%, 52.2%, 11.4%) |
| CIE-LAB | lab(86.38, -23.02, 54.83) |
| CIE-LCH | lch(86.38, 59.46, 112.77°) |
| OKLab | oklab(87.46% -0.066 0.129) |
| OKLCH | oklch(87.46% 0.145 117.1) |
| XYZ | xyz(55.6360, 68.7414, 24.5219) |
| Luminance | 0.6874 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.44
Pear
#CBF85F
ΔE00 6.24
Sickly Yellow
#D0E429
ΔE00 6.25
Light Khaki
#E6F2A2
ΔE00 7.10
Yellowish Green
#B0DD16
ΔE00 7.17
Light Yellow Green
#CCFD7F
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFE26C #7F6CE2
analogous
#E2BA6C #CFE26C #94E26C
triadic
#CFE26C #6CCFE2 #E26CCF
tetradic
#CFE26C #6CE2BA #7F6CE2 #E26C94
square
#CFE26C #6CE2BA #7F6CE2 #E26C94
split-complementary
#CFE26C #6C94E2 #BA6CE2
monochromatic
#9AB123 #BED839 #CFE26C #E0EC9F #F0F6D2
Accessibility & contrast
On white
1.42
#CFE26C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.75
#CFE26C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFE26C
14.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFE26C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFE26C | 1.00 | 1.42 | 14.75 | 14.75 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD861
Deuteranopia (green-blind)
#EDD973
Tritanopia (blue-blind)
#DAD7C7
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #cfe26c; /* rgb */ color: rgb(207, 226, 108); /* oklch */ color: oklch(87.5% 0.145 117.1);
Tailwind
colors: {
custom: {
50: '#e0eb99',
500: '#cfe26c',
950: '#000000',
},
}SCSS
$custom: #cfe26c; $custom-light: #e0eb99; $custom-dark: #000000;
JSON
{
"hex": "#cfe26c",
"rgb": {
"r": 207,
"g": 226,
"b": 108
},
"hsl": {
"h": 69.661,
"s": 67.045,
"l": 65.49
},
"oklch": {
"l": 0.87457,
"c": 0.14488,
"h": 117.1
},
"luminance": 0.68741
}Semantic roles & 50–950 ramp
primary
#CFE26C
secondary
#5340B2
accent
#17CF34
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F