#CDF972#CDF972
#CDF972 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.4% C 0.169 H 124.7°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CDF972 |
|---|---|
| RGB | rgb(205, 249, 114) |
| HSL | hsl(80, 92%, 71%) |
| HSV | hsv(80, 54%, 98%) |
| CMYK | cmyk(17.7%, 0%, 54.2%, 2.4%) |
| CIE-LAB | lab(92.55, -34.05, 59.28) |
| CIE-LCH | lch(92.55, 68.36, 119.87°) |
| OKLab | oklab(92.4% -0.0963 0.1392) |
| OKLCH | oklch(92.4% 0.169 124.7) |
| XYZ | xyz(62.0899, 81.9449, 28.4622) |
| Luminance | 0.8195 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Yellow Green
#CCFD7F
ΔE00 1.85
Pear
#CBF85F
ΔE00 2.00
Pale Lime
#BEFD73
ΔE00 2.98
Light Pea Green
#C4FE82
ΔE00 3.27
Light Lime Green
#B9FF66
ΔE00 3.73
Light Yellowish Green
#C2FF89
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDF972 #9E72F9
analogous
#F9E272 #CDF972 #89F972
triadic
#CDF972 #72CDF9 #F972CD
tetradic
#CDF972 #72F9E2 #9E72F9 #F97289
square
#CDF972 #72F9E2 #9E72F9 #F97289
split-complementary
#CDF972 #7289F9 #E272F9
monochromatic
#9FE70A #B8F737 #CDF972 #E2FBAD #F5FEE2
Accessibility & contrast
On white
1.21
#CDF972 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.39
#CDF972 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDF972
17.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDF972 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDF972 | 1.00 | 1.21 | 17.39 | 17.39 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#D5EEDB
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #cdf972; /* rgb */ color: rgb(205, 249, 114); /* oklch */ color: oklch(92.4% 0.169 124.7);
Tailwind
colors: {
custom: {
50: '#dffb9e',
500: '#cdf972',
950: '#000000',
},
}SCSS
$custom: #cdf972; $custom-light: #dffb9e; $custom-dark: #000000;
JSON
{
"hex": "#cdf972",
"rgb": {
"r": 205,
"g": 249,
"b": 114
},
"hsl": {
"h": 79.556,
"s": 91.837,
"l": 71.176
},
"oklch": {
"l": 0.92404,
"c": 0.16924,
"h": 124.7
},
"luminance": 0.81945
}Semantic roles & 50–950 ramp
primary
#CDF972
secondary
#6D3BD4
accent
#00E64B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580