#2B5915#2B5915
#2B5915 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.110 H 137.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5915 |
|---|---|
| RGB | rgb(43, 89, 21) |
| HSL | hsl(101, 62%, 22%) |
| HSV | hsv(101, 76%, 35%) |
| CMYK | cmyk(51.7%, 0%, 76.4%, 65.1%) |
| CIE-LAB | lab(33.38, -29.26, 32.80) |
| CIE-LCH | lch(33.38, 43.95, 131.73°) |
| OKLab | oklab(41.59% -0.081 0.0744) |
| OKLCH | oklch(41.59% 0.11 137.4) |
| XYZ | xyz(4.7038, 7.7122, 1.9501) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.55
Forest Green
#2D5A27
ΔE00 3.57
Navy Green
#35530A
ΔE00 3.84
Deep Green
#02590F
ΔE00 3.97
Darkgreen
#006400
ΔE00 5.73
Bottle Green
#044A05
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5915 #431559
analogous
#4D5915 #2B5915 #155921
triadic
#2B5915 #152B59 #59152B
tetradic
#2B5915 #154D59 #431559 #592115
square
#2B5915 #154D59 #431559 #592115
split-complementary
#2B5915 #211559 #59154D
monochromatic
#0C1906 #132709 #2B5915 #438B21 #5BBC2C
Accessibility & contrast
On white
8.26
#2B5915 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B5915 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5915
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5915 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#28564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b5915; /* rgb */ color: rgb(43, 89, 21); /* oklch */ color: oklch(41.6% 0.110 137.4);
Tailwind
colors: {
custom: {
50: '#698857',
500: '#2b5915',
950: '#000000',
},
}SCSS
$custom: #2b5915; $custom-light: #698857; $custom-dark: #000000;
JSON
{
"hex": "#2b5915",
"rgb": {
"r": 43,
"g": 89,
"b": 21
},
"hsl": {
"h": 100.588,
"s": 61.818,
"l": 21.569
},
"oklch": {
"l": 0.41589,
"c": 0.10995,
"h": 137.4
},
"luminance": 0.07712
}Semantic roles & 50–950 ramp
primary
#2B5915
secondary
#743991
accent
#43E5B0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78