#C8F997#C8F997
#C8F997 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.135 H 130.3°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C8F997 |
|---|---|
| RGB | rgb(200, 249, 151) |
| HSL | hsl(90, 89%, 78%) |
| HSV | hsv(90, 39%, 98%) |
| CMYK | cmyk(19.7%, 0%, 39.4%, 2.4%) |
| CIE-LAB | lab(92.69, -31.90, 42.02) |
| CIE-LCH | lch(92.69, 52.76, 127.20°) |
| OKLab | oklab(92.58% -0.0875 0.1032) |
| OKLCH | oklch(92.58% 0.135 130.3) |
| XYZ | xyz(63.2801, 82.2640, 41.8168) |
| Luminance | 0.8226 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Celery
#C1FD95
ΔE00 1.76
Pistachio (survey)
#C0FA8B
ΔE00 2.02
Light Yellowish Green
#C2FF89
ΔE00 2.95
Tea Green
#BDF8A3
ΔE00 3.28
Light Pea Green
#C4FE82
ΔE00 3.55
Pale Light Green
#B1FC99
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8F997 #C897F9
analogous
#F9F997 #C8F997 #97F997
triadic
#C8F997 #97C8F9 #F997C8
tetradic
#C8F997 #97F9F9 #C897F9 #F99797
square
#C8F997 #97F9F9 #C897F9 #F99797
split-complementary
#C8F997 #9797F9 #F997F9
monochromatic
#8BF223 #A9F65D #C8F997 #E7FCD1 #F0FDE2
Accessibility & contrast
On white
1.20
#C8F997 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.45
#C8F997 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8F997
17.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8F997 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8F997 | 1.00 | 1.20 | 17.45 | 17.45 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FAE99C
Tritanopia (blue-blind)
#CBF1E1
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #c8f997; /* rgb */ color: rgb(200, 249, 151); /* oklch */ color: oklch(92.6% 0.135 130.3);
Tailwind
colors: {
custom: {
50: '#dafbb7',
500: '#c8f997',
950: '#000000',
},
}SCSS
$custom: #c8f997; $custom-light: #dafbb7; $custom-dark: #000000;
JSON
{
"hex": "#c8f997",
"rgb": {
"r": 200,
"g": 249,
"b": 151
},
"hsl": {
"h": 90,
"s": 89.091,
"l": 78.431
},
"oklch": {
"l": 0.92584,
"c": 0.1353,
"h": 130.3
},
"luminance": 0.82265
}Semantic roles & 50–950 ramp
primary
#C8F997
secondary
#9A5BD9
accent
#00E673
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581