#6CA822#6CA822
#6CA822 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.6% C 0.170 H 131.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6CA822 |
|---|---|
| RGB | rgb(108, 168, 34) |
| HSL | hsl(87, 66%, 40%) |
| HSV | hsv(87, 80%, 66%) |
| CMYK | cmyk(35.7%, 0%, 79.8%, 34.1%) |
| CIE-LAB | lab(62.77, -39.78, 57.73) |
| CIE-LCH | lch(62.77, 70.11, 124.57°) |
| OKLab | oklab(66.57% -0.1129 0.1274) |
| OKLCH | oklch(66.57% 0.17 131.5) |
| XYZ | xyz(20.4755, 31.3081, 6.4773) |
| Luminance | 0.3131 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 1.71
Leaf Green
#5CA904
ΔE00 2.27
Grass
#5CAC2D
ΔE00 3.18
Kermit Green
#5CB200
ΔE00 3.79
Nasty Green
#70B23F
ΔE00 3.88
Lawn Green
#4DA409
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6CA822 #5E22A8
analogous
#A8A122 #6CA822 #29A822
triadic
#6CA822 #226CA8 #A8226C
tetradic
#6CA822 #22A8A1 #5E22A8 #A82229
square
#6CA822 #22A8A1 #5E22A8 #A82229
split-complementary
#6CA822 #2229A8 #A122A8
monochromatic
#2B420D #4B7518 #6CA822 #8CD532 #A9E065
Accessibility & contrast
On white
2.89
#6CA822 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#6CA822 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6CA822
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6CA822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6CA822 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#6EA18F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #6ca822; /* rgb */ color: rgb(108, 168, 34); /* oklch */ color: oklch(66.6% 0.170 131.5);
Tailwind
colors: {
custom: {
50: '#9bc269',
500: '#6ca822',
950: '#000000',
},
}SCSS
$custom: #6ca822; $custom-light: #9bc269; $custom-dark: #000000;
JSON
{
"hex": "#6ca822",
"rgb": {
"r": 108,
"g": 168,
"b": 34
},
"hsl": {
"h": 86.866,
"s": 66.337,
"l": 39.608
},
"oklch": {
"l": 0.66568,
"c": 0.1702,
"h": 131.5
},
"luminance": 0.31309
}Semantic roles & 50–950 ramp
primary
#6CA822
secondary
#8E61C5
accent
#3FE98B
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A