#2A5A16#2A5A16
#2A5A16 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.111 H 138.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5A16 |
|---|---|
| RGB | rgb(42, 90, 22) |
| HSL | hsl(102, 61%, 22%) |
| HSV | hsv(102, 76%, 35%) |
| CMYK | cmyk(53.3%, 0%, 75.6%, 64.7%) |
| CIE-LAB | lab(33.69, -29.95, 32.68) |
| CIE-LCH | lch(33.69, 44.33, 132.51°) |
| OKLab | oklab(41.84% -0.0827 0.0743) |
| OKLCH | oklch(41.84% 0.111 138.1) |
| XYZ | xyz(4.7557, 7.8622, 2.0259) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.45
Forest
#0B5509
ΔE00 3.46
Deep Green
#02590F
ΔE00 3.72
Navy Green
#35530A
ΔE00 4.25
Darkgreen
#006400
ΔE00 5.41
Bottle Green
#044A05
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5A16 #46165A
analogous
#4C5A16 #2A5A16 #165A24
triadic
#2A5A16 #162A5A #5A162A
tetradic
#2A5A16 #164C5A #46165A #5A2416
square
#2A5A16 #164C5A #46165A #5A2416
split-complementary
#2A5A16 #24165A #5A164C
monochromatic
#0B1906 #13290A #2A5A16 #418B22 #58BC2E
Accessibility & contrast
On white
8.16
#2A5A16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A5A16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5A16
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5A16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5A16 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D520B
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#26574C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a5a16; /* rgb */ color: rgb(42, 90, 22); /* oklch */ color: oklch(41.8% 0.111 138.1);
Tailwind
colors: {
custom: {
50: '#698958',
500: '#2a5a16',
950: '#000000',
},
}SCSS
$custom: #2a5a16; $custom-light: #698958; $custom-dark: #000000;
JSON
{
"hex": "#2a5a16",
"rgb": {
"r": 42,
"g": 90,
"b": 22
},
"hsl": {
"h": 102.353,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.41841,
"c": 0.11118,
"h": 138.1
},
"luminance": 0.07862
}Semantic roles & 50–950 ramp
primary
#2A5A16
secondary
#783B91
accent
#44E4B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78