#7CAF2A#7CAF2A
#7CAF2A is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.166 H 128.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7CAF2A |
|---|---|
| RGB | rgb(124, 175, 42) |
| HSL | hsl(83, 61%, 43%) |
| HSV | hsv(83, 76%, 69%) |
| CMYK | cmyk(29.1%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(65.84, -36.45, 58.39) |
| CIE-LCH | lch(65.84, 68.83, 121.97°) |
| OKLab | oklab(69.32% -0.1043 0.1297) |
| OKLCH | oklch(69.32% 0.166 128.8) |
| XYZ | xyz(24.0600, 35.1116, 7.6996) |
| Luminance | 0.3511 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 2.84
Avocado Green
#87A922
ΔE00 3.39
Avocado (survey)
#90B134
ΔE00 3.48
Dark Lime
#84B701
ΔE00 3.70
Nasty Green
#70B23F
ΔE00 3.79
Icky Green
#8FAE22
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7CAF2A #5D2AAF
analogous
#AFA02A #7CAF2A #39AF2A
triadic
#7CAF2A #2A7CAF #AF2A7C
tetradic
#7CAF2A #2AAFA0 #5D2AAF #AF2A39
square
#7CAF2A #2AAFA0 #5D2AAF #AF2A39
split-complementary
#7CAF2A #2A39AF #A02AAF
monochromatic
#364C12 #597E1E #7CAF2A #9CD244 #B6DE75
Accessibility & contrast
On white
2.62
#7CAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#7CAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7CAF2A
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7CAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7CAF2A | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20A
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#80A796
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #7caf2a; /* rgb */ color: rgb(124, 175, 42); /* oklch */ color: oklch(69.3% 0.166 128.8);
Tailwind
colors: {
custom: {
50: '#a6c76e',
500: '#7caf2a',
950: '#000000',
},
}SCSS
$custom: #7caf2a; $custom-light: #a6c76e; $custom-dark: #000000;
JSON
{
"hex": "#7caf2a",
"rgb": {
"r": 124,
"g": 175,
"b": 42
},
"hsl": {
"h": 83.008,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.69317,
"c": 0.1664,
"h": 128.8
},
"luminance": 0.35112
}Semantic roles & 50–950 ramp
primary
#7CAF2A
secondary
#906FC6
accent
#43E481
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B