#2A5A14#2A5A14
#2A5A14 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.113 H 137.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5A14 |
|---|---|
| RGB | rgb(42, 90, 20) |
| HSL | hsl(101, 64%, 22%) |
| HSV | hsv(101, 78%, 35%) |
| CMYK | cmyk(53.3%, 0%, 77.8%, 64.7%) |
| CIE-LAB | lab(33.68, -30.13, 33.52) |
| CIE-LCH | lch(33.68, 45.07, 131.95°) |
| OKLab | oklab(41.82% -0.0833 0.0757) |
| OKLCH | oklch(41.82% 0.113 137.7) |
| XYZ | xyz(4.7371, 7.8547, 1.9282) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.46
Deep Green
#02590F
ΔE00 3.77
Forest Green
#2D5A27
ΔE00 3.78
Navy Green
#35530A
ΔE00 4.09
Darkgreen
#006400
ΔE00 5.29
Bottle Green
#044A05
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5A14 #44145A
analogous
#4D5A14 #2A5A14 #145A21
triadic
#2A5A14 #142A5A #5A142A
tetradic
#2A5A14 #144D5A #44145A #5A2114
square
#2A5A14 #144D5A #44145A #5A2114
split-complementary
#2A5A14 #21145A #5A144D
monochromatic
#0C1906 #132809 #2A5A14 #418C1F #59BE2A
Accessibility & contrast
On white
8.17
#2A5A14 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A5A14 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5A14
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5A14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5A14 | 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)
#5D5208
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#27574C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a5a14; /* rgb */ color: rgb(42, 90, 20); /* oklch */ color: oklch(41.8% 0.113 137.7);
Tailwind
colors: {
custom: {
50: '#698957',
500: '#2a5a14',
950: '#000000',
},
}SCSS
$custom: #2a5a14; $custom-light: #698957; $custom-dark: #000000;
JSON
{
"hex": "#2a5a14",
"rgb": {
"r": 42,
"g": 90,
"b": 20
},
"hsl": {
"h": 101.143,
"s": 63.636,
"l": 21.569
},
"oklch": {
"l": 0.41823,
"c": 0.1126,
"h": 137.7
},
"luminance": 0.07855
}Semantic roles & 50–950 ramp
primary
#2A5A14
secondary
#763892
accent
#41E7B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78