#7FC940#7FC940
#7FC940 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.0% C 0.184 H 133.6°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7FC940 |
|---|---|
| RGB | rgb(127, 201, 64) |
| HSL | hsl(92, 56%, 52%) |
| HSV | hsv(92, 68%, 79%) |
| CMYK | cmyk(36.8%, 0%, 68.2%, 21.2%) |
| CIE-LAB | lab(73.97, -45.24, 58.58) |
| CIE-LCH | lch(73.97, 74.02, 127.68°) |
| OKLab | oklab(76.03% -0.1267 0.1332) |
| OKLCH | oklch(76.03% 0.184 133.6) |
| XYZ | xyz(30.5639, 46.6541, 12.2442) |
| Luminance | 0.4666 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Apple
#6ECB3C
ΔE00 2.15
Apple Green
#76CD26
ΔE00 2.44
Yellowgreen
#9ACD32
ΔE00 4.94
Dark Lime Green
#7EBD01
ΔE00 4.96
Fresh Green
#69D84F
ΔE00 5.06
Frog Green
#58BC08
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FC940 #8A40C9
analogous
#C3C940 #7FC940 #40C946
triadic
#7FC940 #407FC9 #C9407F
tetradic
#7FC940 #40C3C9 #8A40C9 #C94640
square
#7FC940 #40C3C9 #8A40C9 #C94640
split-complementary
#7FC940 #4640C9 #C940C3
monochromatic
#446F1F #619F2D #7FC940 #9FD670 #BFE49F
Accessibility & contrast
On white
2.03
#7FC940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.33
#7FC940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FC940
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FC940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FC940 | 1.00 | 2.03 | 10.33 | 10.33 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#7FC1AD
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #7fc940; /* rgb */ color: rgb(127, 201, 64); /* oklch */ color: oklch(76.0% 0.184 133.6);
Tailwind
colors: {
custom: {
50: '#a9da7c',
500: '#7fc940',
950: '#000000',
},
}SCSS
$custom: #7fc940; $custom-light: #a9da7c; $custom-dark: #000000;
JSON
{
"hex": "#7fc940",
"rgb": {
"r": 127,
"g": 201,
"b": 64
},
"hsl": {
"h": 92.409,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.76034,
"c": 0.18385,
"h": 133.6
},
"luminance": 0.46655
}Semantic roles & 50–950 ramp
primary
#7FC940
secondary
#B594D0
accent
#49DF9A
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10150A
muted
#7F837C