#C6F162#C6F162
#C6F162 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 90.0% C 0.175 H 124.0°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C6F162 |
|---|---|
| RGB | rgb(198, 241, 98) |
| HSL | hsl(78, 84%, 66%) |
| HSV | hsv(78, 59%, 95%) |
| CMYK | cmyk(17.8%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(89.77, -34.36, 62.93) |
| CIE-LCH | lch(89.77, 71.70, 118.64°) |
| OKLab | oklab(90% -0.0981 0.1455) |
| OKLCH | oklch(90% 0.175 124) |
| XYZ | xyz(56.9489, 75.7978, 23.1831) |
| Luminance | 0.7580 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 1.68
Light Yellow Green
#CCFD7F
ΔE00 3.68
Pale Lime
#BEFD73
ΔE00 4.05
Yellowy Green
#BFF128
ΔE00 4.35
Light Lime Green
#B9FF66
ΔE00 4.40
Yellow Green
#C8FD3D
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6F162 #8D62F1
analogous
#F1D562 #C6F162 #7FF162
triadic
#C6F162 #62C6F1 #F162C6
tetradic
#C6F162 #62F1D5 #8D62F1 #F1627F
square
#C6F162 #62F1D5 #8D62F1 #F1627F
split-complementary
#C6F162 #627FF1 #D562F1
monochromatic
#90C712 #B2EC2A #C6F162 #DAF69A #EFFBD2
Accessibility & contrast
On white
1.30
#C6F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.16
#C6F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6F162
16.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6F162 | 1.00 | 1.30 | 16.16 | 16.16 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE352
Deuteranopia (green-blind)
#F8E16C
Tritanopia (blue-blind)
#CEE6D2
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #c6f162; /* rgb */ color: rgb(198, 241, 98); /* oklch */ color: oklch(90.0% 0.175 124.0);
Tailwind
colors: {
custom: {
50: '#daf594',
500: '#c6f162',
950: '#000000',
},
}SCSS
$custom: #c6f162; $custom-light: #daf594; $custom-dark: #000000;
JSON
{
"hex": "#c6f162",
"rgb": {
"r": 198,
"g": 241,
"b": 98
},
"hsl": {
"h": 78.042,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.89997,
"c": 0.17548,
"h": 124
},
"luminance": 0.75798
}Semantic roles & 50–950 ramp
primary
#C6F162
secondary
#5F33C4
accent
#05E047
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F