#2D581C#2D581C
#2D581C is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.5% C 0.102 H 138.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2D581C |
|---|---|
| RGB | rgb(45, 88, 28) |
| HSL | hsl(103, 52%, 23%) |
| HSV | hsv(103, 68%, 35%) |
| CMYK | cmyk(48.9%, 0%, 68.2%, 65.5%) |
| CIE-LAB | lab(33.18, -27.41, 29.37) |
| CIE-LCH | lch(33.18, 40.17, 133.02°) |
| OKLab | oklab(41.48% -0.0756 0.0681) |
| OKLCH | oklch(41.48% 0.102 138) |
| XYZ | xyz(4.7814, 7.6209, 2.3174) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.33
Forest
#0B5509
ΔE00 4.11
Navy Green
#35530A
ΔE00 4.24
Deep Green
#02590F
ΔE00 4.47
Pine
#2B5D34
ΔE00 5.54
Bottle Green
#044A05
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D581C #471C58
analogous
#4B581C #2D581C #1C5829
triadic
#2D581C #1C2D58 #581C2D
tetradic
#2D581C #1C4B58 #471C58 #58291C
square
#2D581C #1C4B58 #471C58 #58291C
split-complementary
#2D581C #291C58 #581C4B
monochromatic
#0C1707 #152A0D #2D581C #45862B #5CB53A
Accessibility & contrast
On white
8.32
#2D581C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2D581C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D581C
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D581C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D581C | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5015
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#2A554B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d581c; /* rgb */ color: rgb(45, 88, 28); /* oklch */ color: oklch(41.5% 0.102 138.0);
Tailwind
colors: {
custom: {
50: '#6a875b',
500: '#2d581c',
950: '#000000',
},
}SCSS
$custom: #2d581c; $custom-light: #6a875b; $custom-dark: #000000;
JSON
{
"hex": "#2d581c",
"rgb": {
"r": 45,
"g": 88,
"b": 28
},
"hsl": {
"h": 103,
"s": 51.724,
"l": 22.745
},
"oklch": {
"l": 0.41475,
"c": 0.10172,
"h": 138
},
"luminance": 0.07621
}Semantic roles & 50–950 ramp
primary
#2D581C
secondary
#78428E
accent
#4DDBB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79