#2A6115#2A6115
#2A6115 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.9% C 0.121 H 138.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6115 |
|---|---|
| RGB | rgb(42, 97, 21) |
| HSL | hsl(103, 64%, 23%) |
| HSV | hsv(103, 78%, 38%) |
| CMYK | cmyk(56.7%, 0%, 78.4%, 62%) |
| CIE-LAB | lab(36.17, -33.06, 35.62) |
| CIE-LCH | lch(36.17, 48.60, 132.87°) |
| OKLab | oklab(43.87% -0.0912 0.0803) |
| OKLCH | oklch(43.87% 0.121 138.7) |
| XYZ | xyz(5.3647, 9.0954, 2.1822) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.67
Deep Green
#02590F
ΔE00 4.23
Forest
#0B5509
ΔE00 4.64
Forest Green
#2D5A27
ΔE00 4.92
Navy Green
#35530A
ΔE00 5.84
Camouflage Green
#4B6113
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6115 #4C1561
analogous
#506115 #2A6115 #156126
triadic
#2A6115 #152A61 #61152A
tetradic
#2A6115 #155061 #4C1561 #612615
square
#2A6115 #155061 #4C1561 #612615
split-complementary
#2A6115 #261561 #611550
monochromatic
#0B1905 #142F0A #2A6115 #409320 #56C62B
Accessibility & contrast
On white
7.45
#2A6115 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2A6115 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6115
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6115 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6115 | 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)
#645807
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#255D52
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a6115; /* rgb */ color: rgb(42, 97, 21); /* oklch */ color: oklch(43.9% 0.121 138.7);
Tailwind
colors: {
custom: {
50: '#6a8e58',
500: '#2a6115',
950: '#000000',
},
}SCSS
$custom: #2a6115; $custom-light: #6a8e58; $custom-dark: #000000;
JSON
{
"hex": "#2a6115",
"rgb": {
"r": 42,
"g": 97,
"b": 21
},
"hsl": {
"h": 103.421,
"s": 64.407,
"l": 23.137
},
"oklch": {
"l": 0.43874,
"c": 0.12148,
"h": 138.7
},
"luminance": 0.09096
}Semantic roles & 50–950 ramp
primary
#2A6115
secondary
#7E3A98
accent
#40E7B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78