#2B5B16#2B5B16
#2B5B16 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.112 H 137.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5B16 |
|---|---|
| RGB | rgb(43, 91, 22) |
| HSL | hsl(102, 61%, 22%) |
| HSV | hsv(102, 76%, 36%) |
| CMYK | cmyk(52.7%, 0%, 75.8%, 64.3%) |
| CIE-LAB | lab(34.09, -30.06, 33.11) |
| CIE-LCH | lch(34.09, 44.72, 132.24°) |
| OKLab | oklab(42.18% -0.0831 0.0752) |
| OKLCH | oklch(42.18% 0.112 137.9) |
| XYZ | xyz(4.8820, 8.0533, 2.0561) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.61
Forest
#0B5509
ΔE00 3.67
Deep Green
#02590F
ΔE00 3.85
Navy Green
#35530A
ΔE00 4.31
Darkgreen
#006400
ΔE00 5.22
Bottle Green
#044A05
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5B16 #46165B
analogous
#4E5B16 #2B5B16 #165B24
triadic
#2B5B16 #162B5B #5B162B
tetradic
#2B5B16 #164E5B #46165B #5B2416
square
#2B5B16 #164E5B #46165B #5B2416
split-complementary
#2B5B16 #24165B #5B164E
monochromatic
#0C1906 #142A0A #2B5B16 #428C22 #5ABE2E
Accessibility & contrast
On white
8.04
#2B5B16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2B5B16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5B16
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5B16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5B16 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E530B
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#28584D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b5b16; /* rgb */ color: rgb(43, 91, 22); /* oklch */ color: oklch(42.2% 0.112 137.9);
Tailwind
colors: {
custom: {
50: '#6a8a58',
500: '#2b5b16',
950: '#000000',
},
}SCSS
$custom: #2b5b16; $custom-light: #6a8a58; $custom-dark: #000000;
JSON
{
"hex": "#2b5b16",
"rgb": {
"r": 43,
"g": 91,
"b": 22
},
"hsl": {
"h": 101.739,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.42182,
"c": 0.11203,
"h": 137.9
},
"luminance": 0.08054
}Semantic roles & 50–950 ramp
primary
#2B5B16
secondary
#783B92
accent
#44E4B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78