#0D4F1C#0D4F1C
#0D4F1C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.104 H 146.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #0D4F1C |
|---|---|
| RGB | rgb(13, 79, 28) |
| HSL | hsl(134, 72%, 18%) |
| HSV | hsv(134, 84%, 31%) |
| CMYK | cmyk(83.5%, 0%, 64.6%, 69%) |
| CIE-LAB | lab(28.80, -32.14, 24.10) |
| CIE-LCH | lch(28.80, 40.17, 143.14°) |
| OKLab | oklab(37.55% -0.0865 0.057) |
| OKLCH | oklch(37.55% 0.104 146.6) |
| XYZ | xyz(3.1713, 5.7610, 2.0432) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.87
British Racing Green
#05480D
ΔE00 2.88
Forest Green (survey)
#06470C
ΔE00 3.15
Darkgreen (survey)
#054907
ΔE00 3.53
Bottle Green
#044A05
ΔE00 3.76
Forest
#0B5509
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0D4F1C #4F0D40
analogous
#1F4F0D #0D4F1C #0D4F3D
triadic
#0D4F1C #1C0D4F #4F1C0D
tetradic
#0D4F1C #0D1F4F #4F0D40 #4F3D0D
square
#0D4F1C #0D1F4F #4F0D40 #4F3D0D
split-complementary
#0D4F1C #3D0D4F #4F0D1F
monochromatic
#041A09 #041A09 #0D4F1C #16842F #1EB841
Accessibility & contrast
On white
9.76
#0D4F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#0D4F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0D4F1C
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0D4F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0D4F1C | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504717
Deuteranopia (green-blind)
#494220
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0d4f1c; /* rgb */ color: rgb(13, 79, 28); /* oklch */ color: oklch(37.6% 0.104 146.6);
Tailwind
colors: {
custom: {
50: '#59815a',
500: '#0d4f1c',
950: '#000000',
},
}SCSS
$custom: #0d4f1c; $custom-light: #59815a; $custom-dark: #000000;
JSON
{
"hex": "#0d4f1c",
"rgb": {
"r": 13,
"g": 79,
"b": 28
},
"hsl": {
"h": 133.636,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.37554,
"c": 0.10362,
"h": 146.6
},
"luminance": 0.05761
}Semantic roles & 50–950 ramp
primary
#0D4F1C
secondary
#8A2E75
accent
#39C5EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79