#2B5B18#2B5B18
#2B5B18 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.111 H 138.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5B18 |
|---|---|
| RGB | rgb(43, 91, 24) |
| HSL | hsl(103, 58%, 23%) |
| HSV | hsv(103, 74%, 36%) |
| CMYK | cmyk(52.7%, 0%, 73.6%, 64.3%) |
| CIE-LAB | lab(34.11, -29.88, 32.24) |
| CIE-LCH | lch(34.11, 43.96, 132.82°) |
| OKLab | oklab(42.2% -0.0824 0.0736) |
| OKLCH | oklch(42.2% 0.111 138.2) |
| XYZ | xyz(4.9020, 8.0614, 2.1617) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.27
Forest
#0B5509
ΔE00 3.69
Deep Green
#02590F
ΔE00 3.81
Navy Green
#35530A
ΔE00 4.47
Darkgreen
#006400
ΔE00 5.36
Bottle Green
#044A05
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5B18 #48185B
analogous
#4D5B18 #2B5B18 #185B26
triadic
#2B5B18 #182B5B #5B182B
tetradic
#2B5B18 #184D5B #48185B #5B2618
square
#2B5B18 #184D5B #48185B #5B2618
split-complementary
#2B5B18 #26185B #5B184D
monochromatic
#0B1806 #142B0B #2B5B18 #428B25 #59BC32
Accessibility & contrast
On white
8.04
#2B5B18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2B5B18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5B18
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5B18 | 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)
#5E530E
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#27584E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b5b18; /* rgb */ color: rgb(43, 91, 24); /* oklch */ color: oklch(42.2% 0.111 138.2);
Tailwind
colors: {
custom: {
50: '#6a8a59',
500: '#2b5b18',
950: '#000000',
},
}SCSS
$custom: #2b5b18; $custom-light: #6a8a59; $custom-dark: #000000;
JSON
{
"hex": "#2b5b18",
"rgb": {
"r": 43,
"g": 91,
"b": 24
},
"hsl": {
"h": 102.985,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.42201,
"c": 0.11053,
"h": 138.2
},
"luminance": 0.08062
}Semantic roles & 50–950 ramp
primary
#2B5B18
secondary
#7A3D92
accent
#46E1B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79