#2B5A15#2B5A15
#2B5A15 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.111 H 137.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5A15 |
|---|---|
| RGB | rgb(43, 90, 21) |
| HSL | hsl(101, 62%, 22%) |
| HSV | hsv(101, 77%, 35%) |
| CMYK | cmyk(52.2%, 0%, 76.7%, 64.7%) |
| CIE-LAB | lab(33.73, -29.70, 33.17) |
| CIE-LCH | lch(33.73, 44.52, 131.85°) |
| OKLab | oklab(41.88% -0.0822 0.0751) |
| OKLCH | oklch(41.88% 0.111 137.6) |
| XYZ | xyz(4.7876, 7.8797, 1.9780) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.60
Forest Green
#2D5A27
ΔE00 3.66
Deep Green
#02590F
ΔE00 3.90
Navy Green
#35530A
ΔE00 4.03
Darkgreen
#006400
ΔE00 5.44
Bottle Green
#044A05
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5A15 #44155A
analogous
#4E5A15 #2B5A15 #155A22
triadic
#2B5A15 #152B5A #5A152B
tetradic
#2B5A15 #154E5A #44155A #5A2215
square
#2B5A15 #154E5A #44155A #5A2215
split-complementary
#2B5A15 #22155A #5A154E
monochromatic
#0C1906 #132809 #2B5A15 #438C21 #5ABD2C
Accessibility & contrast
On white
8.15
#2B5A15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2B5A15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5A15
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5A15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5A15 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5209
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#28574C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b5a15; /* rgb */ color: rgb(43, 90, 21); /* oklch */ color: oklch(41.9% 0.111 137.6);
Tailwind
colors: {
custom: {
50: '#6a8957',
500: '#2b5a15',
950: '#000000',
},
}SCSS
$custom: #2b5a15; $custom-light: #6a8957; $custom-dark: #000000;
JSON
{
"hex": "#2b5a15",
"rgb": {
"r": 43,
"g": 90,
"b": 21
},
"hsl": {
"h": 100.87,
"s": 62.162,
"l": 21.765
},
"oklch": {
"l": 0.41881,
"c": 0.11135,
"h": 137.6
},
"luminance": 0.0788
}Semantic roles & 50–950 ramp
primary
#2B5A15
secondary
#753992
accent
#43E5B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78