#2D5A16#2D5A16
#2D5A16 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.110 H 137.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5A16 |
|---|---|
| RGB | rgb(45, 90, 22) |
| HSL | hsl(100, 61%, 22%) |
| HSV | hsv(100, 76%, 35%) |
| CMYK | cmyk(50%, 0%, 75.6%, 64.7%) |
| CIE-LAB | lab(33.83, -28.92, 32.87) |
| CIE-LCH | lch(33.83, 43.78, 131.34°) |
| OKLab | oklab(41.99% -0.0801 0.0746) |
| OKLCH | oklch(41.99% 0.11 137) |
| XYZ | xyz(4.8830, 7.9278, 2.0318) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.59
Navy Green
#35530A
ΔE00 3.83
Forest
#0B5509
ΔE00 3.90
Deep Green
#02590F
ΔE00 4.22
Darkgreen
#006400
ΔE00 5.70
Bottle Green
#044A05
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5A16 #43165A
analogous
#4F5A16 #2D5A16 #165A21
triadic
#2D5A16 #162D5A #5A162D
tetradic
#2D5A16 #164F5A #43165A #5A2116
square
#2D5A16 #164F5A #43165A #5A2116
split-complementary
#2D5A16 #21165A #5A164F
monochromatic
#0C1906 #14290A #2D5A16 #468B22 #5EBC2E
Accessibility & contrast
On white
8.12
#2D5A16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2D5A16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5A16
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5A16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5A16 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D520B
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#2B574D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2d5a16; /* rgb */ color: rgb(45, 90, 22); /* oklch */ color: oklch(42.0% 0.110 137.0);
Tailwind
colors: {
custom: {
50: '#6b8958',
500: '#2d5a16',
950: '#000000',
},
}SCSS
$custom: #2d5a16; $custom-light: #6b8958; $custom-dark: #000000;
JSON
{
"hex": "#2d5a16",
"rgb": {
"r": 45,
"g": 90,
"b": 22
},
"hsl": {
"h": 99.706,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.41992,
"c": 0.10951,
"h": 137
},
"luminance": 0.07928
}Semantic roles & 50–950 ramp
primary
#2D5A16
secondary
#743B91
accent
#44E4AE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78