#6CAF2A#6CAF2A
#6CAF2A is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.4% C 0.175 H 133.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6CAF2A |
|---|---|
| RGB | rgb(108, 175, 42) |
| HSL | hsl(90, 61%, 43%) |
| HSV | hsv(90, 76%, 69%) |
| CMYK | cmyk(38.3%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(64.97, -42.35, 57.26) |
| CIE-LCH | lch(64.97, 71.22, 126.48°) |
| OKLab | oklab(68.38% -0.1193 0.1277) |
| OKLCH | oklch(68.38% 0.175 133.1) |
| XYZ | xyz(21.9319, 34.0142, 7.5999) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 1.96
Nasty Green
#70B23F
ΔE00 2.24
Grass
#5CAC2D
ΔE00 2.51
Kermit Green
#5CB200
ΔE00 2.65
Leaf Green
#5CA904
ΔE00 2.84
Turtle Green
#75B84F
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6CAF2A #6D2AAF
analogous
#AEAF2A #6CAF2A #2AAF2B
triadic
#6CAF2A #2A6CAF #AF2A6C
tetradic
#6CAF2A #2AAEAF #6D2AAF #AF2B2A
square
#6CAF2A #2AAEAF #6D2AAF #AF2B2A
split-complementary
#6CAF2A #2B2AAF #AF2AAE
monochromatic
#2F4C12 #4E7E1E #6CAF2A #8BD244 #A9DE75
Accessibility & contrast
On white
2.69
#6CAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#6CAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6CAF2A
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6CAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6CAF2A | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10A
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#6CA896
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #6caf2a; /* rgb */ color: rgb(108, 175, 42); /* oklch */ color: oklch(68.4% 0.175 133.1);
Tailwind
colors: {
custom: {
50: '#9cc76e',
500: '#6caf2a',
950: '#000000',
},
}SCSS
$custom: #6caf2a; $custom-light: #9cc76e; $custom-dark: #000000;
JSON
{
"hex": "#6caf2a",
"rgb": {
"r": 108,
"g": 175,
"b": 42
},
"hsl": {
"h": 90.226,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.68385,
"c": 0.17469,
"h": 133.1
},
"luminance": 0.34015
}Semantic roles & 50–950 ramp
primary
#6CAF2A
secondary
#9B6FC6
accent
#43E495
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1308
muted
#7F827B