#7CA226#7CA226
#7CA226 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.1% C 0.152 H 125.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7CA226 |
|---|---|
| RGB | rgb(124, 162, 38) |
| HSL | hsl(78, 62%, 39%) |
| HSV | hsv(78, 77%, 64%) |
| CMYK | cmyk(23.5%, 0%, 76.5%, 36.5%) |
| CIE-LAB | lab(61.88, -30.66, 55.96) |
| CIE-LCH | lch(61.88, 63.81, 118.72°) |
| OKLab | oklab(66.1% -0.0888 0.1239) |
| OKLCH | oklch(66.1% 0.152 125.6) |
| XYZ | xyz(21.5825, 30.2654, 6.5381) |
| Luminance | 0.3027 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado Green
#87A922
ΔE00 2.84
Leaf
#71AA34
ΔE00 4.07
Ugly Green
#7A9703
ΔE00 4.12
Vomit Green
#89A203
ΔE00 4.15
Icky Green
#8FAE22
ΔE00 4.71
Pea Green
#8EAB12
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7CA226 #4C26A2
analogous
#A28A26 #7CA226 #3EA226
triadic
#7CA226 #267CA2 #A2267C
tetradic
#7CA226 #26A28A #4C26A2 #A2263E
square
#7CA226 #26A28A #4C26A2 #A2263E
split-complementary
#7CA226 #263EA2 #8A26A2
monochromatic
#303F0F #56701A #7CA226 #A0D035 #B8DB67
Accessibility & contrast
On white
2.98
#7CA226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#7CA226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7CA226
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7CA226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7CA226 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9707
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#829A8B
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #7ca226; /* rgb */ color: rgb(124, 162, 38); /* oklch */ color: oklch(66.1% 0.152 125.6);
Tailwind
colors: {
custom: {
50: '#a6bd6a',
500: '#7ca226',
950: '#000000',
},
}SCSS
$custom: #7ca226; $custom-light: #a6bd6a; $custom-dark: #000000;
JSON
{
"hex": "#7ca226",
"rgb": {
"r": 124,
"g": 162,
"b": 38
},
"hsl": {
"h": 78.387,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.66101,
"c": 0.15247,
"h": 125.6
},
"luminance": 0.30266
}Semantic roles & 50–950 ramp
primary
#7CA226
secondary
#8063C1
accent
#43E574
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A