#0D581F#0D581F
#0D581F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.113 H 146.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #0D581F |
|---|---|
| RGB | rgb(13, 88, 31) |
| HSL | hsl(134, 74%, 20%) |
| HSV | hsv(134, 85%, 35%) |
| CMYK | cmyk(85.2%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(32.18, -35.16, 26.42) |
| CIE-LCH | lch(32.18, 43.98, 143.08°) |
| OKLab | oklab(40.37% -0.0946 0.0623) |
| OKLCH | oklch(40.37% 0.113 146.6) |
| XYZ | xyz(3.9027, 7.1635, 2.4731) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.91
Forest
#0B5509
ΔE00 3.49
Forest Green
#2D5A27
ΔE00 3.70
Pine
#2B5D34
ΔE00 4.91
British Racing Green
#05480D
ΔE00 5.09
Bottle Green
#044A05
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0D581F #580D46
analogous
#21580D #0D581F #0D5845
triadic
#0D581F #1F0D58 #581F0D
tetradic
#0D581F #0D2158 #580D46 #58450D
square
#0D581F #0D2158 #580D46 #58450D
split-complementary
#0D581F #450D58 #580D21
monochromatic
#041B09 #05230C #0D581F #158D32 #1DC345
Accessibility & contrast
On white
8.63
#0D581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#0D581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0D581F
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0D581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0D581F | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #0d581f; /* rgb */ color: rgb(13, 88, 31); /* oklch */ color: oklch(40.4% 0.113 146.6);
Tailwind
colors: {
custom: {
50: '#5b885d',
500: '#0d581f',
950: '#000000',
},
}SCSS
$custom: #0d581f; $custom-light: #5b885d; $custom-dark: #000000;
JSON
{
"hex": "#0d581f",
"rgb": {
"r": 13,
"g": 88,
"b": 31
},
"hsl": {
"h": 134.4,
"s": 74.257,
"l": 19.804
},
"oklch": {
"l": 0.40366,
"c": 0.11328,
"h": 146.6
},
"luminance": 0.07164
}Semantic roles & 50–950 ramp
primary
#0D581F
secondary
#932E7A
accent
#37C4F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79