#7FB12C#7FB12C
#7FB12C is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.166 H 128.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7FB12C |
|---|---|
| RGB | rgb(127, 177, 44) |
| HSL | hsl(83, 60%, 43%) |
| HSV | hsv(83, 75%, 69%) |
| CMYK | cmyk(28.2%, 0%, 75.1%, 30.6%) |
| CIE-LAB | lab(66.62, -36.09, 58.54) |
| CIE-LCH | lch(66.62, 68.76, 121.65°) |
| OKLab | oklab(70.01% -0.1033 0.1302) |
| OKLCH | oklch(70.01% 0.166 128.4) |
| XYZ | xyz(24.9291, 36.1375, 8.0442) |
| Luminance | 0.3614 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado (survey)
#90B134
ΔE00 3.09
Dark Lime
#84B701
ΔE00 3.28
Leaf
#71AA34
ΔE00 3.37
Avocado Green
#87A922
ΔE00 3.46
Icky Green
#8FAE22
ΔE00 3.91
Nasty Green
#70B23F
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FB12C #5E2CB1
analogous
#B1A02C #7FB12C #3DB12C
triadic
#7FB12C #2C7FB1 #B12C7F
tetradic
#7FB12C #2CB1A0 #5E2CB1 #B12C3D
square
#7FB12C #2CB1A0 #5E2CB1 #B12C3D
split-complementary
#7FB12C #2C3DB1 #A02CB1
monochromatic
#394F14 #5C8020 #7FB12C #9ED249 #B8DE7A
Accessibility & contrast
On white
2.55
#7FB12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#7FB12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FB12C
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FB12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FB12C | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA40E
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#83A998
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #7fb12c; /* rgb */ color: rgb(127, 177, 44); /* oklch */ color: oklch(70.0% 0.166 128.4);
Tailwind
colors: {
custom: {
50: '#a8c86f',
500: '#7fb12c',
950: '#000000',
},
}SCSS
$custom: #7fb12c; $custom-light: #a8c86f; $custom-dark: #000000;
JSON
{
"hex": "#7fb12c",
"rgb": {
"r": 127,
"g": 177,
"b": 44
},
"hsl": {
"h": 82.556,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.70009,
"c": 0.16624,
"h": 128.4
},
"luminance": 0.36138
}Semantic roles & 50–950 ramp
primary
#7FB12C
secondary
#9273C6
accent
#44E380
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B