#C6F266#C6F266
#C6F266 is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.3% C 0.173 H 124.5°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).
Color values
| HEX | #C6F266 |
|---|---|
| RGB | rgb(198, 242, 102) |
| HSL | hsl(79, 84%, 67%) |
| HSV | hsv(79, 58%, 95%) |
| CMYK | cmyk(18.2%, 0%, 57.9%, 5.1%) |
| CIE-LAB | lab(90.08, -34.50, 61.57) |
| CIE-LCH | lch(90.08, 70.58, 119.26°) |
| OKLab | oklab(90.26% -0.0982 0.143) |
| OKLCH | oklch(90.26% 0.173 124.5) |
| XYZ | xyz(57.4393, 76.4689, 24.3017) |
| Luminance | 0.7647 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 1.78
Light Yellow Green
#CCFD7F
ΔE00 3.21
Pale Lime
#BEFD73
ΔE00 3.64
Light Lime Green
#B9FF66
ΔE00 4.12
Light Pea Green
#C4FE82
ΔE00 4.29
Yellow Green
#C8FD3D
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6F266 #9266F2
analogous
#F2D866 #C6F266 #80F266
triadic
#C6F266 #66C6F2 #F266C6
tetradic
#C6F266 #66F2D8 #9266F2 #F26680
square
#C6F266 #66F2D8 #9266F2 #F26680
split-complementary
#C6F266 #6680F2 #D866F2
monochromatic
#92CC11 #B1ED2E #C6F266 #DBF79E #F0FCD7
Accessibility & contrast
On white
1.29
#C6F266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.29
#C6F266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6F266
16.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6F266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6F266 | 1.00 | 1.29 | 16.29 | 16.29 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#F8E26F
Tritanopia (blue-blind)
#CEE7D4
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #c6f266; /* rgb */ color: rgb(198, 242, 102); /* oklch */ color: oklch(90.3% 0.173 124.5);
Tailwind
colors: {
custom: {
50: '#daf696',
500: '#c6f266',
950: '#000000',
},
}SCSS
$custom: #c6f266; $custom-light: #daf696; $custom-dark: #000000;
JSON
{
"hex": "#c6f266",
"rgb": {
"r": 198,
"g": 242,
"b": 102
},
"hsl": {
"h": 78.857,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.9026,
"c": 0.17348,
"h": 124.5
},
"luminance": 0.76469
}Semantic roles & 50–950 ramp
primary
#C6F266
secondary
#6234C9
accent
#05E14A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F