#2A6A19#2A6A19
#2A6A19 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.131 H 139.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6A19 |
|---|---|
| RGB | rgb(42, 106, 25) |
| HSL | hsl(107, 62%, 26%) |
| HSV | hsv(107, 76%, 42%) |
| CMYK | cmyk(60.4%, 0%, 76.4%, 58.4%) |
| CIE-LAB | lab(39.36, -36.44, 37.22) |
| CIE-LCH | lch(39.36, 52.09, 134.39°) |
| OKLab | oklab(46.52% -0.1 0.0842) |
| OKLCH | oklch(46.52% 0.131 139.9) |
| XYZ | xyz(6.2841, 10.8700, 2.6865) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.63
Deep Green
#02590F
ΔE00 6.25
Tree Green
#2A7E19
ΔE00 6.97
Forest Green
#2D5A27
ΔE00 7.02
Darkish Green
#287C37
ΔE00 7.09
Forest
#0B5509
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6A19 #59196A
analogous
#526A19 #2A6A19 #196A30
triadic
#2A6A19 #192A6A #6A192A
tetradic
#2A6A19 #19526A #59196A #6A3019
square
#2A6A19 #19526A #59196A #6A3019
split-complementary
#2A6A19 #30196A #6A1952
monochromatic
#0A1906 #16380D #2A6A19 #3E9C25 #51CD30
Accessibility & contrast
On white
6.62
#2A6A19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2A6A19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6A19
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6A19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6A19 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D600B
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#22665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6a19; /* rgb */ color: rgb(42, 106, 25); /* oklch */ color: oklch(46.5% 0.131 139.9);
Tailwind
colors: {
custom: {
50: '#6c955b',
500: '#2a6a19',
950: '#000000',
},
}SCSS
$custom: #2a6a19; $custom-light: #6c955b; $custom-dark: #000000;
JSON
{
"hex": "#2a6a19",
"rgb": {
"r": 42,
"g": 106,
"b": 25
},
"hsl": {
"h": 107.407,
"s": 61.832,
"l": 25.686
},
"oklch": {
"l": 0.46517,
"c": 0.13077,
"h": 139.9
},
"luminance": 0.1087
}Semantic roles & 50–950 ramp
primary
#2A6A19
secondary
#8B3FA0
accent
#43E5C3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79