#2A5A13#2A5A13
#2A5A13 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.113 H 137.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5A13 |
|---|---|
| RGB | rgb(42, 90, 19) |
| HSL | hsl(101, 65%, 21%) |
| HSV | hsv(101, 79%, 35%) |
| CMYK | cmyk(53.3%, 0%, 78.9%, 64.7%) |
| CIE-LAB | lab(33.67, -30.21, 33.93) |
| CIE-LCH | lch(33.67, 45.43, 131.68°) |
| OKLab | oklab(41.81% -0.0836 0.0764) |
| OKLCH | oklch(41.81% 0.113 137.6) |
| XYZ | xyz(4.7284, 7.8513, 1.8823) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.47
Deep Green
#02590F
ΔE00 3.80
Forest Green
#2D5A27
ΔE00 3.94
Navy Green
#35530A
ΔE00 4.03
Darkgreen
#006400
ΔE00 5.23
Bottle Green
#044A05
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5A13 #43135A
analogous
#4E5A13 #2A5A13 #135A20
triadic
#2A5A13 #132A5A #5A132A
tetradic
#2A5A13 #134E5A #43135A #5A2013
square
#2A5A13 #134E5A #43135A #5A2013
split-complementary
#2A5A13 #20135A #5A134E
monochromatic
#0C1905 #122708 #2A5A13 #428D1E #59BF28
Accessibility & contrast
On white
8.17
#2A5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A5A13 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5A13
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5A13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5A13 | 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)
#5D5206
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#27574C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a5a13; /* rgb */ color: rgb(42, 90, 19); /* oklch */ color: oklch(41.8% 0.113 137.6);
Tailwind
colors: {
custom: {
50: '#698956',
500: '#2a5a13',
950: '#000000',
},
}SCSS
$custom: #2a5a13; $custom-light: #698956; $custom-dark: #000000;
JSON
{
"hex": "#2a5a13",
"rgb": {
"r": 42,
"g": 90,
"b": 19
},
"hsl": {
"h": 100.563,
"s": 65.138,
"l": 21.373
},
"oklch": {
"l": 0.41814,
"c": 0.11328,
"h": 137.6
},
"luminance": 0.07852
}Semantic roles & 50–950 ramp
primary
#2A5A13
secondary
#753792
accent
#40E8B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78