#2A5A15#2A5A15
#2A5A15 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.112 H 137.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5A15 |
|---|---|
| RGB | rgb(42, 90, 21) |
| HSL | hsl(102, 62%, 22%) |
| HSV | hsv(102, 77%, 35%) |
| CMYK | cmyk(53.3%, 0%, 76.7%, 64.7%) |
| CIE-LAB | lab(33.69, -30.04, 33.11) |
| CIE-LCH | lch(33.69, 44.71, 132.22°) |
| OKLab | oklab(41.83% -0.083 0.075) |
| OKLCH | oklch(41.83% 0.112 137.9) |
| XYZ | xyz(4.7462, 7.8584, 1.9760) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.45
Forest Green
#2D5A27
ΔE00 3.62
Deep Green
#02590F
ΔE00 3.74
Navy Green
#35530A
ΔE00 4.17
Darkgreen
#006400
ΔE00 5.34
Bottle Green
#044A05
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5A15 #45155A
analogous
#4D5A15 #2A5A15 #155A23
triadic
#2A5A15 #152A5A #5A152A
tetradic
#2A5A15 #154D5A #45155A #5A2315
square
#2A5A15 #154D5A #45155A #5A2315
split-complementary
#2A5A15 #23155A #5A154D
monochromatic
#0C1906 #132809 #2A5A15 #418C21 #58BD2C
Accessibility & contrast
On white
8.17
#2A5A15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A5A15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5A15
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5A15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5A15 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5209
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#27574C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a5a15; /* rgb */ color: rgb(42, 90, 21); /* oklch */ color: oklch(41.8% 0.112 137.9);
Tailwind
colors: {
custom: {
50: '#698957',
500: '#2a5a15',
950: '#000000',
},
}SCSS
$custom: #2a5a15; $custom-light: #698957; $custom-dark: #000000;
JSON
{
"hex": "#2a5a15",
"rgb": {
"r": 42,
"g": 90,
"b": 21
},
"hsl": {
"h": 101.739,
"s": 62.162,
"l": 21.765
},
"oklch": {
"l": 0.41832,
"c": 0.1119,
"h": 137.9
},
"luminance": 0.07859
}Semantic roles & 50–950 ramp
primary
#2A5A15
secondary
#773992
accent
#43E5B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78