#7CA142#7CA142
#7CA142 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.1% C 0.131 H 127.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7CA142 |
|---|---|
| RGB | rgb(124, 161, 66) |
| HSL | hsl(83, 42%, 45%) |
| HSV | hsv(83, 59%, 63%) |
| CMYK | cmyk(23%, 0%, 59%, 36.9%) |
| CIE-LAB | lab(61.80, -28.16, 44.46) |
| CIE-LCH | lch(61.80, 52.63, 122.35°) |
| OKLab | oklab(66.1% -0.0795 0.1036) |
| OKLCH | oklch(66.1% 0.131 127.5) |
| XYZ | xyz(22.0404, 30.1678, 9.8150) |
| Luminance | 0.3017 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 4.06
Asparagus
#77AB56
ΔE00 4.60
Flat Green
#699D4C
ΔE00 4.74
Off Green
#6BA353
ΔE00 5.11
Avocado Green
#87A922
ΔE00 5.59
Drab Green
#749551
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7CA142 #6742A1
analogous
#A19642 #7CA142 #4DA142
triadic
#7CA142 #427CA1 #A1427C
tetradic
#7CA142 #42A196 #6742A1 #A1424D
square
#7CA142 #42A196 #6742A1 #A1424D
split-complementary
#7CA142 #424DA1 #9642A1
monochromatic
#394A1E #5B7630 #7CA142 #9ABF62 #B6D08D
Accessibility & contrast
On white
2.99
#7CA142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#7CA142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7CA142
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7CA142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7CA142 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99738
Deuteranopia (green-blind)
#A39548
Tritanopia (blue-blind)
#809A8C
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #7ca142; /* rgb */ color: rgb(124, 161, 66); /* oklch */ color: oklch(66.1% 0.131 127.5);
Tailwind
colors: {
custom: {
50: '#a4bd7a',
500: '#7ca142',
950: '#000000',
},
}SCSS
$custom: #7ca142; $custom-light: #a4bd7a; $custom-dark: #000000;
JSON
{
"hex": "#7ca142",
"rgb": {
"r": 124,
"g": 161,
"b": 66
},
"hsl": {
"h": 83.368,
"s": 41.85,
"l": 44.51
},
"oklch": {
"l": 0.66102,
"c": 0.13058,
"h": 127.5
},
"luminance": 0.30168
}Semantic roles & 50–950 ramp
primary
#7CA142
secondary
#9983BB
accent
#56D286
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B