#2B5B15#2B5B15
#2B5B15 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.113 H 137.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5B15 |
|---|---|
| RGB | rgb(43, 91, 21) |
| HSL | hsl(101, 63%, 22%) |
| HSV | hsv(101, 77%, 36%) |
| CMYK | cmyk(52.7%, 0%, 76.9%, 64.3%) |
| CIE-LAB | lab(34.09, -30.15, 33.53) |
| CIE-LCH | lch(34.09, 45.09, 131.96°) |
| OKLab | oklab(42.17% -0.0834 0.0759) |
| OKLCH | oklch(42.17% 0.113 137.7) |
| XYZ | xyz(4.8725, 8.0496, 2.0063) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.68
Forest Green
#2D5A27
ΔE00 3.78
Deep Green
#02590F
ΔE00 3.87
Navy Green
#35530A
ΔE00 4.24
Darkgreen
#006400
ΔE00 5.16
Bottle Green
#044A05
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5B15 #45155B
analogous
#4E5B15 #2B5B15 #155B22
triadic
#2B5B15 #152B5B #5B152B
tetradic
#2B5B15 #154E5B #45155B #5B2215
square
#2B5B15 #154E5B #45155B #5B2215
split-complementary
#2B5B15 #22155B #5B154E
monochromatic
#0C1906 #14290A #2B5B15 #428D20 #5ABE2C
Accessibility & contrast
On white
8.05
#2B5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2B5B15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5B15
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5B15 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5309
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#28584D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b5b15; /* rgb */ color: rgb(43, 91, 21); /* oklch */ color: oklch(42.2% 0.113 137.7);
Tailwind
colors: {
custom: {
50: '#6a8a57',
500: '#2b5b15',
950: '#000000',
},
}SCSS
$custom: #2b5b15; $custom-light: #6a8a57; $custom-dark: #000000;
JSON
{
"hex": "#2b5b15",
"rgb": {
"r": 43,
"g": 91,
"b": 21
},
"hsl": {
"h": 101.143,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.42173,
"c": 0.11274,
"h": 137.7
},
"luminance": 0.0805
}Semantic roles & 50–950 ramp
primary
#2B5B15
secondary
#763992
accent
#42E6B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78