#2A6116#2A6116
#2A6116 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.9% C 0.121 H 138.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6116 |
|---|---|
| RGB | rgb(42, 97, 22) |
| HSL | hsl(104, 63%, 23%) |
| HSV | hsv(104, 77%, 38%) |
| CMYK | cmyk(56.7%, 0%, 77.3%, 62%) |
| CIE-LAB | lab(36.17, -32.98, 35.22) |
| CIE-LCH | lch(36.17, 48.25, 133.12°) |
| OKLab | oklab(43.88% -0.0909 0.0796) |
| OKLCH | oklch(43.88% 0.121 138.8) |
| XYZ | xyz(5.3742, 9.0991, 2.2320) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.73
Deep Green
#02590F
ΔE00 4.19
Forest
#0B5509
ΔE00 4.62
Forest Green
#2D5A27
ΔE00 4.79
Navy Green
#35530A
ΔE00 5.88
Camouflage Green
#4B6113
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6116 #4D1661
analogous
#4F6116 #2A6116 #166127
triadic
#2A6116 #162A61 #61162A
tetradic
#2A6116 #164F61 #4D1661 #612716
square
#2A6116 #164F61 #4D1661 #612716
split-complementary
#2A6116 #271661 #61164F
monochromatic
#0B1906 #142F0B #2A6116 #409321 #55C52D
Accessibility & contrast
On white
7.45
#2A6116 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2A6116 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6116
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6116 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6116 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#255D52
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a6116; /* rgb */ color: rgb(42, 97, 22); /* oklch */ color: oklch(43.9% 0.121 138.8);
Tailwind
colors: {
custom: {
50: '#6a8e59',
500: '#2a6116',
950: '#000000',
},
}SCSS
$custom: #2a6116; $custom-light: #6a8e59; $custom-dark: #000000;
JSON
{
"hex": "#2a6116",
"rgb": {
"r": 42,
"g": 97,
"b": 22
},
"hsl": {
"h": 104,
"s": 63.025,
"l": 23.333
},
"oklch": {
"l": 0.43882,
"c": 0.12081,
"h": 138.8
},
"luminance": 0.091
}Semantic roles & 50–950 ramp
primary
#2A6116
secondary
#7F3B98
accent
#42E6BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79