#1D581F#1D581F
#1D581F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.107 H 143.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1D581F |
|---|---|
| RGB | rgb(29, 88, 31) |
| HSL | hsl(122, 50%, 23%) |
| HSV | hsv(122, 67%, 35%) |
| CMYK | cmyk(67%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(32.57, -31.96, 26.97) |
| CIE-LCH | lch(32.57, 41.82, 139.84°) |
| OKLab | oklab(40.8% -0.0867 0.0634) |
| OKLCH | oklch(40.8% 0.107 143.8) |
| XYZ | xyz(4.2435, 7.3392, 2.4890) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.42
Deep Green
#02590F
ΔE00 3.11
Forest
#0B5509
ΔE00 3.33
Pine
#2B5D34
ΔE00 4.52
Bottle Green
#044A05
ΔE00 5.07
Darkgreen (survey)
#054907
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D581F #581D56
analogous
#38581D #1D581F #1D583C
triadic
#1D581F #1F1D58 #581F1D
tetradic
#1D581F #1D3858 #581D56 #583C1D
square
#1D581F #1D3858 #581D56 #583C1D
split-complementary
#1D581F #3C1D58 #581D38
monochromatic
#081708 #0E2A0F #1D581F #2C862F #3BB43F
Accessibility & contrast
On white
8.51
#1D581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#1D581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D581F
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D581F | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#524B24
Tritanopia (blue-blind)
#11554C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1d581f; /* rgb */ color: rgb(29, 88, 31); /* oklch */ color: oklch(40.8% 0.107 143.8);
Tailwind
colors: {
custom: {
50: '#61885d',
500: '#1d581f',
950: '#000000',
},
}SCSS
$custom: #1d581f; $custom-light: #61885d; $custom-dark: #000000;
JSON
{
"hex": "#1d581f",
"rgb": {
"r": 29,
"g": 88,
"b": 31
},
"hsl": {
"h": 122.034,
"s": 50.427,
"l": 22.941
},
"oklch": {
"l": 0.40801,
"c": 0.10743,
"h": 143.8
},
"luminance": 0.0734
}Semantic roles & 50–950 ramp
primary
#1D581F
secondary
#8D448B
accent
#4ED5DA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B04
muted
#7A7C79