#C2F162#C2F162
#C2F162 is a very light, vivid yellow-green. Relative luminance 0.753; OKLCH L 89.7% C 0.177 H 125.2°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C2F162 |
|---|---|
| RGB | rgb(194, 241, 98) |
| HSL | hsl(80, 84%, 66%) |
| HSV | hsv(80, 59%, 95%) |
| CMYK | cmyk(19.5%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(89.52, -35.87, 62.58) |
| CIE-LCH | lch(89.52, 72.13, 119.82°) |
| OKLab | oklab(89.73% -0.1021 0.1448) |
| OKLCH | oklch(89.73% 0.177 125.2) |
| XYZ | xyz(55.9082, 75.2612, 23.1343) |
| Luminance | 0.7526 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 1.96
Light Yellow Green
#CCFD7F
ΔE00 3.49
Pale Lime
#BEFD73
ΔE00 3.55
Light Lime Green
#B9FF66
ΔE00 3.89
Light Pea Green
#C4FE82
ΔE00 4.38
Yellowy Green
#BFF128
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2F162 #9162F1
analogous
#F1D862 #C2F162 #7BF162
triadic
#C2F162 #62C2F1 #F162C2
tetradic
#C2F162 #62F1D8 #9162F1 #F1627B
square
#C2F162 #62F1D8 #9162F1 #F1627B
split-complementary
#C2F162 #627BF1 #D862F1
monochromatic
#8BC712 #ACEC2A #C2F162 #D8F69A #EEFBD2
Accessibility & contrast
On white
1.31
#C2F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.05
#C2F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2F162
16.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2F162 | 1.00 | 1.31 | 16.05 | 16.05 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDE352
Deuteranopia (green-blind)
#F7E06C
Tritanopia (blue-blind)
#CAE6D2
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #c2f162; /* rgb */ color: rgb(194, 241, 98); /* oklch */ color: oklch(89.7% 0.177 125.2);
Tailwind
colors: {
custom: {
50: '#d7f594',
500: '#c2f162',
950: '#000000',
},
}SCSS
$custom: #c2f162; $custom-light: #d7f594; $custom-dark: #000000;
JSON
{
"hex": "#c2f162",
"rgb": {
"r": 194,
"g": 241,
"b": 98
},
"hsl": {
"h": 79.72,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.89731,
"c": 0.17718,
"h": 125.2
},
"luminance": 0.75262
}Semantic roles & 50–950 ramp
primary
#C2F162
secondary
#6333C4
accent
#05E04D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F