#2D581F#2D581F
#2D581F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.5% C 0.099 H 138.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2D581F |
|---|---|
| RGB | rgb(45, 88, 31) |
| HSL | hsl(105, 48%, 23%) |
| HSV | hsv(105, 65%, 35%) |
| CMYK | cmyk(48.9%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(33.21, -27.07, 27.88) |
| CIE-LCH | lch(33.21, 38.86, 134.15°) |
| OKLab | oklab(41.51% -0.0744 0.0653) |
| OKLCH | oklch(41.51% 0.099 138.8) |
| XYZ | xyz(4.8191, 7.6360, 2.5160) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.72
Forest
#0B5509
ΔE00 4.37
Deep Green
#02590F
ΔE00 4.64
Navy Green
#35530A
ΔE00 4.73
Pine
#2B5D34
ΔE00 4.94
Bottle Green
#044A05
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D581F #4A1F58
analogous
#49581F #2D581F #1F582D
triadic
#2D581F #1F2D58 #581F2D
tetradic
#2D581F #1F4958 #4A1F58 #582D1F
square
#2D581F #1F4958 #4A1F58 #582D1F
split-complementary
#2D581F #2D1F58 #581F49
monochromatic
#0C1708 #162B0F #2D581F #44852F #5BB33F
Accessibility & contrast
On white
8.31
#2D581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2D581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D581F
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D581F | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5019
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#2A554C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d581f; /* rgb */ color: rgb(45, 88, 31); /* oklch */ color: oklch(41.5% 0.099 138.8);
Tailwind
colors: {
custom: {
50: '#6a875d',
500: '#2d581f',
950: '#000000',
},
}SCSS
$custom: #2d581f; $custom-light: #6a875d; $custom-dark: #000000;
JSON
{
"hex": "#2d581f",
"rgb": {
"r": 45,
"g": 88,
"b": 31
},
"hsl": {
"h": 105.263,
"s": 47.899,
"l": 23.333
},
"oklch": {
"l": 0.41512,
"c": 0.09898,
"h": 138.8
},
"luminance": 0.07636
}Semantic roles & 50–950 ramp
primary
#2D581F
secondary
#7B468D
accent
#50D7B6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79