#2D5C17#2D5C17
#2D5C17 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.112 H 137.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5C17 |
|---|---|
| RGB | rgb(45, 92, 23) |
| HSL | hsl(101, 60%, 23%) |
| HSV | hsv(101, 75%, 36%) |
| CMYK | cmyk(51.1%, 0%, 75%, 63.9%) |
| CIE-LAB | lab(34.55, -29.73, 33.17) |
| CIE-LCH | lch(34.55, 44.55, 131.87°) |
| OKLab | oklab(42.58% -0.0823 0.0754) |
| OKLCH | oklch(42.58% 0.112 137.5) |
| XYZ | xyz(5.0638, 8.2737, 2.1406) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.67
Forest
#0B5509
ΔE00 4.04
Deep Green
#02590F
ΔE00 4.14
Navy Green
#35530A
ΔE00 4.34
Darkgreen
#006400
ΔE00 5.22
Bottle Green
#044A05
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5C17 #46175C
analogous
#4F5C17 #2D5C17 #175C24
triadic
#2D5C17 #172D5C #5C172D
tetradic
#2D5C17 #174F5C #46175C #5C2417
square
#2D5C17 #174F5C #46175C #5C2417
split-complementary
#2D5C17 #24175C #5C174F
monochromatic
#0C1806 #152B0B #2D5C17 #458D23 #5DBE2F
Accessibility & contrast
On white
7.91
#2D5C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2D5C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5C17
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5C17 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F540C
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#2A594E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2d5c17; /* rgb */ color: rgb(45, 92, 23); /* oklch */ color: oklch(42.6% 0.112 137.5);
Tailwind
colors: {
custom: {
50: '#6b8a59',
500: '#2d5c17',
950: '#000000',
},
}SCSS
$custom: #2d5c17; $custom-light: #6b8a59; $custom-dark: #000000;
JSON
{
"hex": "#2d5c17",
"rgb": {
"r": 45,
"g": 92,
"b": 23
},
"hsl": {
"h": 100.87,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.42581,
"c": 0.1116,
"h": 137.5
},
"luminance": 0.08274
}Semantic roles & 50–950 ramp
primary
#2D5C17
secondary
#773C93
accent
#45E3B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79