#7CAB2C#7CAB2C
#7CAB2C is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.3% C 0.160 H 128.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7CAB2C |
|---|---|
| RGB | rgb(124, 171, 44) |
| HSL | hsl(82, 59%, 42%) |
| HSV | hsv(82, 74%, 67%) |
| CMYK | cmyk(27.5%, 0%, 74.3%, 32.9%) |
| CIE-LAB | lab(64.64, -34.52, 56.55) |
| CIE-LCH | lch(64.64, 66.25, 121.40°) |
| OKLab | oklab(68.35% -0.0989 0.1261) |
| OKLCH | oklch(68.35% 0.16 128.1) |
| XYZ | xyz(23.3297, 33.5922, 7.6372) |
| Luminance | 0.3359 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 2.45
Avocado Green
#87A922
ΔE00 2.88
Avocado (survey)
#90B134
ΔE00 3.62
Icky Green
#8FAE22
ΔE00 4.12
Nasty Green
#70B23F
ΔE00 4.15
Leaf Green
#5CA904
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7CAB2C #5B2CAB
analogous
#AB9B2C #7CAB2C #3CAB2C
triadic
#7CAB2C #2C7CAB #AB2C7C
tetradic
#7CAB2C #2CAB9B #5B2CAB #AB2C3C
square
#7CAB2C #2CAB9B #5B2CAB #AB2C3C
split-complementary
#7CAB2C #2C3CAB #9B2CAB
monochromatic
#354A13 #597A1F #7CAB2C #9CCF45 #B6DC76
Accessibility & contrast
On white
2.72
#7CAB2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#7CAB2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7CAB2C
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7CAB2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7CAB2C | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F12
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#80A393
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #7cab2c; /* rgb */ color: rgb(124, 171, 44); /* oklch */ color: oklch(68.3% 0.160 128.1);
Tailwind
colors: {
custom: {
50: '#a6c46e',
500: '#7cab2c',
950: '#000000',
},
}SCSS
$custom: #7cab2c; $custom-light: #a6c46e; $custom-dark: #000000;
JSON
{
"hex": "#7cab2c",
"rgb": {
"r": 124,
"g": 171,
"b": 44
},
"hsl": {
"h": 82.205,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.68347,
"c": 0.16026,
"h": 128.1
},
"luminance": 0.33593
}Semantic roles & 50–950 ramp
primary
#7CAB2C
secondary
#8E6FC3
accent
#46E280
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B