#CFE978#CFE978
#CFE978 is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 89.1% C 0.142 H 120.1°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CFE978 |
|---|---|
| RGB | rgb(207, 233, 120) |
| HSL | hsl(74, 72%, 69%) |
| HSV | hsv(74, 48%, 91%) |
| CMYK | cmyk(11.2%, 0%, 48.5%, 8.6%) |
| CIE-LAB | lab(88.40, -25.26, 51.67) |
| CIE-LCH | lch(88.40, 57.51, 116.06°) |
| OKLab | oklab(89.12% -0.0712 0.1231) |
| OKLCH | oklch(89.12% 0.142 120.1) |
| XYZ | xyz(58.2616, 72.8995, 28.7674) |
| Luminance | 0.7290 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Yellow Green
#CCFD7F
ΔE00 5.21
Pear
#CBF85F
ΔE00 5.23
Light Khaki
#E6F2A2
ΔE00 6.07
Light Pea Green
#C4FE82
ΔE00 6.33
Pistachio (survey)
#C0FA8B
ΔE00 6.52
Greenish Beige
#C9D179
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFE978 #9278E9
analogous
#E9CB78 #CFE978 #97E978
triadic
#CFE978 #78CFE9 #E978CF
tetradic
#CFE978 #78E9CB #9278E9 #E97897
square
#CFE978 #78E9CB #9278E9 #E97897
split-complementary
#CFE978 #7897E9 #CB78E9
monochromatic
#A0C620 #BCE043 #CFE978 #E2F2AD #F4FAE1
Accessibility & contrast
On white
1.35
#CFE978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.58
#CFE978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFE978
15.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFE978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFE978 | 1.00 | 1.35 | 15.58 | 15.58 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DE6E
Deuteranopia (green-blind)
#F2DE7E
Tritanopia (blue-blind)
#D8DFCF
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #cfe978; /* rgb */ color: rgb(207, 233, 120); /* oklch */ color: oklch(89.1% 0.142 120.1);
Tailwind
colors: {
custom: {
50: '#dff0a1',
500: '#cfe978',
950: '#000000',
},
}SCSS
$custom: #cfe978; $custom-light: #dff0a1; $custom-dark: #000000;
JSON
{
"hex": "#cfe978",
"rgb": {
"r": 207,
"g": 233,
"b": 120
},
"hsl": {
"h": 73.805,
"s": 71.975,
"l": 69.216
},
"oklch": {
"l": 0.89122,
"c": 0.14221,
"h": 120.1
},
"luminance": 0.72899
}Semantic roles & 50–950 ramp
primary
#CFE978
secondary
#6144C1
accent
#11D43E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580