#7CA042#7CA042
#7CA042 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.9% C 0.129 H 127.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7CA042 |
|---|---|
| RGB | rgb(124, 160, 66) |
| HSL | hsl(83, 42%, 44%) |
| HSV | hsv(83, 59%, 63%) |
| CMYK | cmyk(22.5%, 0%, 58.8%, 37.3%) |
| CIE-LAB | lab(61.50, -27.67, 44.12) |
| CIE-LCH | lch(61.50, 52.08, 122.10°) |
| OKLab | oklab(65.86% -0.0781 0.1029) |
| OKLCH | oklch(65.86% 0.129 127.2) |
| XYZ | xyz(21.8663, 29.8197, 9.7570) |
| Luminance | 0.2982 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 4.35
Flat Green
#699D4C
ΔE00 4.70
Asparagus
#77AB56
ΔE00 4.81
Off Green
#6BA353
ΔE00 5.18
Drab Green
#749551
ΔE00 5.45
Moss
#769958
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7CA042 #6642A0
analogous
#A09542 #7CA042 #4DA042
triadic
#7CA042 #427CA0 #A0427C
tetradic
#7CA042 #42A095 #6642A0 #A0424D
square
#7CA042 #42A095 #6642A0 #A0424D
split-complementary
#7CA042 #424DA0 #9542A0
monochromatic
#39491E #5A7530 #7CA042 #9ABE61 #B6D08D
Accessibility & contrast
On white
3.02
#7CA042 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#7CA042 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7CA042
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7CA042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7CA042 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89638
Deuteranopia (green-blind)
#A39448
Tritanopia (blue-blind)
#80998C
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #7ca042; /* rgb */ color: rgb(124, 160, 66); /* oklch */ color: oklch(65.9% 0.129 127.2);
Tailwind
colors: {
custom: {
50: '#a4bc7a',
500: '#7ca042',
950: '#000000',
},
}SCSS
$custom: #7ca042; $custom-light: #a4bc7a; $custom-dark: #000000;
JSON
{
"hex": "#7ca042",
"rgb": {
"r": 124,
"g": 160,
"b": 66
},
"hsl": {
"h": 82.979,
"s": 41.593,
"l": 44.314
},
"oklch": {
"l": 0.6586,
"c": 0.12919,
"h": 127.2
},
"luminance": 0.2982
}Semantic roles & 50–950 ramp
primary
#7CA042
secondary
#9883BB
accent
#56D186
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B