#C7F962#C7F962
#C7F962 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 91.8% C 0.185 H 125.4°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C7F962 |
|---|---|
| RGB | rgb(199, 249, 98) |
| HSL | hsl(80, 93%, 68%) |
| HSV | hsv(80, 61%, 98%) |
| CMYK | cmyk(20.1%, 0%, 60.6%, 2.4%) |
| CIE-LAB | lab(92.03, -37.61, 65.44) |
| CIE-LCH | lch(92.03, 75.48, 119.88°) |
| OKLab | oklab(91.84% -0.1072 0.1508) |
| OKLCH | oklch(91.84% 0.185 125.4) |
| XYZ | xyz(59.6337, 80.7746, 24.0022) |
| Luminance | 0.8077 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 0.95
Light Lime Green
#B9FF66
ΔE00 3.04
Pale Lime
#BEFD73
ΔE00 3.06
Light Yellow Green
#CCFD7F
ΔE00 3.12
Yellow Green
#C8FD3D
ΔE00 3.43
Pale Lime Green
#B1FF65
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7F962 #9462F9
analogous
#F9E062 #C7F962 #7BF962
triadic
#C7F962 #62C7F9 #F962C7
tetradic
#C7F962 #62F9E0 #9462F9 #F9627B
square
#C7F962 #62F9E0 #9462F9 #F9627B
split-complementary
#C7F962 #627BF9 #E062F9
monochromatic
#93D808 #B2F727 #C7F962 #DCFB9D #F1FED8
Accessibility & contrast
On white
1.22
#C7F962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.15
#C7F962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7F962
17.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7F962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7F962 | 1.00 | 1.22 | 17.15 | 17.15 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA50
Deuteranopia (green-blind)
#FFE76D
Tritanopia (blue-blind)
#CFEED9
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #c7f962; /* rgb */ color: rgb(199, 249, 98); /* oklch */ color: oklch(91.8% 0.185 125.4);
Tailwind
colors: {
custom: {
50: '#dbfb94',
500: '#c7f962',
950: '#000000',
},
}SCSS
$custom: #c7f962; $custom-light: #dbfb94; $custom-dark: #000000;
JSON
{
"hex": "#c7f962",
"rgb": {
"r": 199,
"g": 249,
"b": 98
},
"hsl": {
"h": 79.868,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.91842,
"c": 0.18503,
"h": 125.4
},
"luminance": 0.80775
}Semantic roles & 50–950 ramp
primary
#C7F962
secondary
#642DD2
accent
#00E64C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F