#C2F797#C2F797
#C2F797 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.8% C 0.135 H 132.1°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C2F797 |
|---|---|
| RGB | rgb(194, 247, 151) |
| HSL | hsl(93, 86%, 78%) |
| HSV | hsv(93, 39%, 97%) |
| CMYK | cmyk(21.5%, 0%, 38.9%, 3.1%) |
| CIE-LAB | lab(91.79, -33.08, 40.78) |
| CIE-LCH | lch(91.79, 52.51, 129.05°) |
| OKLab | oklab(91.76% -0.0907 0.1003) |
| OKLCH | oklch(91.76% 0.135 132.1) |
| XYZ | xyz(61.0937, 80.2239, 41.5382) |
| Luminance | 0.8023 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Celery
#C1FD95
ΔE00 1.63
Pistachio (survey)
#C0FA8B
ΔE00 2.18
Tea Green
#BDF8A3
ΔE00 2.47
Pale Light Green
#B1FC99
ΔE00 3.27
Light Yellowish Green
#C2FF89
ΔE00 3.27
Washed Out Green
#BCF5A6
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2F797 #CC97F7
analogous
#F2F797 #C2F797 #97F79C
triadic
#C2F797 #97C2F7 #F797C2
tetradic
#C2F797 #97F2F7 #CC97F7 #F79C97
square
#C2F797 #97F2F7 #CC97F7 #F79C97
split-complementary
#C2F797 #9C97F7 #F797F2
monochromatic
#7FEE25 #A1F35E #C2F797 #E3FBD0 #EEFDE3
Accessibility & contrast
On white
1.23
#C2F797 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.05
#C2F797 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2F797
17.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2F797 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2F797 | 1.00 | 1.23 | 17.05 | 17.05 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA90
Deuteranopia (green-blind)
#F7E69C
Tritanopia (blue-blind)
#C4F0DF
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #c2f797; /* rgb */ color: rgb(194, 247, 151); /* oklch */ color: oklch(91.8% 0.135 132.1);
Tailwind
colors: {
custom: {
50: '#d6fab6',
500: '#c2f797',
950: '#000000',
},
}SCSS
$custom: #c2f797; $custom-light: #d6fab6; $custom-dark: #000000;
JSON
{
"hex": "#c2f797",
"rgb": {
"r": 194,
"g": 247,
"b": 151
},
"hsl": {
"h": 93.125,
"s": 85.714,
"l": 78.039
},
"oklch": {
"l": 0.91762,
"c": 0.13523,
"h": 132.1
},
"luminance": 0.80225
}Semantic roles & 50–950 ramp
primary
#C2F797
secondary
#9F5CD6
accent
#03E27E
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581