#2B5C17#2B5C17
#2B5C17 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.5% C 0.113 H 138.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5C17 |
|---|---|
| RGB | rgb(43, 92, 23) |
| HSL | hsl(103, 60%, 23%) |
| HSV | hsv(103, 75%, 36%) |
| CMYK | cmyk(53.3%, 0%, 75%, 63.9%) |
| CIE-LAB | lab(34.46, -30.41, 33.05) |
| CIE-LCH | lch(34.46, 44.91, 132.62°) |
| OKLab | oklab(42.48% -0.084 0.0752) |
| OKLCH | oklch(42.48% 0.113 138.2) |
| XYZ | xyz(4.9779, 8.2294, 2.1366) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.60
Forest
#0B5509
ΔE00 3.78
Deep Green
#02590F
ΔE00 3.82
Navy Green
#35530A
ΔE00 4.60
Darkgreen
#006400
ΔE00 5.02
Bottle Green
#044A05
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5C17 #48175C
analogous
#4D5C17 #2B5C17 #175C26
triadic
#2B5C17 #172B5C #5C172B
tetradic
#2B5C17 #174D5C #48175C #5C2617
square
#2B5C17 #174D5C #48175C #5C2617
split-complementary
#2B5C17 #26175C #5C174D
monochromatic
#0B1806 #142B0B #2B5C17 #428D23 #59BE2F
Accessibility & contrast
On white
7.94
#2B5C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2B5C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5C17
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5C17 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F540C
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#27594E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2b5c17; /* rgb */ color: rgb(43, 92, 23); /* oklch */ color: oklch(42.5% 0.113 138.2);
Tailwind
colors: {
custom: {
50: '#6a8b59',
500: '#2b5c17',
950: '#000000',
},
}SCSS
$custom: #2b5c17; $custom-light: #6a8b59; $custom-dark: #000000;
JSON
{
"hex": "#2b5c17",
"rgb": {
"r": 43,
"g": 92,
"b": 23
},
"hsl": {
"h": 102.609,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.42482,
"c": 0.1127,
"h": 138.2
},
"luminance": 0.0823
}Semantic roles & 50–950 ramp
primary
#2B5C17
secondary
#7A3C93
accent
#45E3B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79