#6CA42A#6CA42A
#6CA42A is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.6% C 0.161 H 131.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6CA42A |
|---|---|
| RGB | rgb(108, 164, 42) |
| HSL | hsl(88, 59%, 40%) |
| HSV | hsv(88, 74%, 64%) |
| CMYK | cmyk(34.1%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(61.57, -37.58, 53.95) |
| CIE-LCH | lch(61.57, 65.75, 124.86°) |
| OKLab | oklab(65.61% -0.1063 0.1207) |
| OKLCH | oklch(65.61% 0.161 131.4) |
| XYZ | xyz(19.8775, 29.9055, 6.9151) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 1.93
Leaf Green
#5CA904
ΔE00 3.18
Grass
#5CAC2D
ΔE00 3.56
Lawn Green
#4DA409
ΔE00 3.99
Nasty Green
#70B23F
ΔE00 4.42
Kermit Green
#5CB200
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6CA42A #622AA4
analogous
#A49F2A #6CA42A #2FA42A
triadic
#6CA42A #2A6CA4 #A42A6C
tetradic
#6CA42A #2AA49F #622AA4 #A42A2F
square
#6CA42A #2AA49F #622AA4 #A42A2F
split-complementary
#6CA42A #2A2FA4 #9F2AA4
monochromatic
#2C4311 #4C731E #6CA42A #8BCD3E #A9DA6E
Accessibility & contrast
On white
3.01
#6CA42A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#6CA42A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6CA42A
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6CA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6CA42A | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9712
Deuteranopia (green-blind)
#A49336
Tritanopia (blue-blind)
#6E9D8D
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #6ca42a; /* rgb */ color: rgb(108, 164, 42); /* oklch */ color: oklch(65.6% 0.161 131.4);
Tailwind
colors: {
custom: {
50: '#9bbf6c',
500: '#6ca42a',
950: '#000000',
},
}SCSS
$custom: #6ca42a; $custom-light: #9bbf6c; $custom-dark: #000000;
JSON
{
"hex": "#6ca42a",
"rgb": {
"r": 108,
"g": 164,
"b": 42
},
"hsl": {
"h": 87.541,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.65608,
"c": 0.16088,
"h": 131.4
},
"luminance": 0.29906
}Semantic roles & 50–950 ramp
primary
#6CA42A
secondary
#9169C1
accent
#45E28D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A