#C6F262#C6F262
#C6F262 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.2% C 0.177 H 124.2°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C6F262 |
|---|---|
| RGB | rgb(198, 242, 98) |
| HSL | hsl(78, 85%, 67%) |
| HSV | hsv(78, 60%, 95%) |
| CMYK | cmyk(18.2%, 0%, 59.5%, 5.1%) |
| CIE-LAB | lab(90.04, -34.82, 63.23) |
| CIE-LCH | lch(90.04, 72.19, 118.84°) |
| OKLab | oklab(90.22% -0.0994 0.1461) |
| OKLCH | oklch(90.22% 0.177 124.2) |
| XYZ | xyz(57.2457, 76.3914, 23.2820) |
| Luminance | 0.7639 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 1.49
Light Yellow Green
#CCFD7F
ΔE00 3.55
Pale Lime
#BEFD73
ΔE00 3.87
Light Lime Green
#B9FF66
ΔE00 4.19
Yellow Green
#C8FD3D
ΔE00 4.27
Yellowy Green
#BFF128
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6F262 #8E62F2
analogous
#F2D662 #C6F262 #7EF262
triadic
#C6F262 #62C6F2 #F262C6
tetradic
#C6F262 #62F2D6 #8E62F2 #F2627E
square
#C6F262 #62F2D6 #8E62F2 #F2627E
split-complementary
#C6F262 #627EF2 #D662F2
monochromatic
#91C911 #B1ED29 #C6F262 #DBF79B #EFFBD3
Accessibility & contrast
On white
1.29
#C6F262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.28
#C6F262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6F262
16.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6F262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6F262 | 1.00 | 1.29 | 16.28 | 16.28 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#F9E26C
Tritanopia (blue-blind)
#CEE7D3
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #c6f262; /* rgb */ color: rgb(198, 242, 98); /* oklch */ color: oklch(90.2% 0.177 124.2);
Tailwind
colors: {
custom: {
50: '#daf694',
500: '#c6f262',
950: '#000000',
},
}SCSS
$custom: #c6f262; $custom-light: #daf694; $custom-dark: #000000;
JSON
{
"hex": "#c6f262",
"rgb": {
"r": 198,
"g": 242,
"b": 98
},
"hsl": {
"h": 78.333,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.90219,
"c": 0.17674,
"h": 124.2
},
"luminance": 0.76392
}Semantic roles & 50–950 ramp
primary
#C6F262
secondary
#5F33C6
accent
#04E148
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F