#0D5812#0D5812
#0D5812 is a dark, vivid green. Relative luminance 0.071; OKLCH L 40.2% C 0.123 H 143.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #0D5812 |
|---|---|
| RGB | rgb(13, 88, 18) |
| HSL | hsl(124, 74%, 20%) |
| HSV | hsv(124, 85%, 35%) |
| CMYK | cmyk(85.2%, 0%, 79.5%, 65.5%) |
| CIE-LAB | lab(32.05, -36.68, 32.42) |
| CIE-LCH | lch(32.05, 48.95, 138.53°) |
| OKLab | oklab(40.22% -0.0993 0.0734) |
| OKLCH | oklch(40.22% 0.123 143.5) |
| XYZ | xyz(3.7646, 7.1082, 1.7458) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 0.77
Forest
#0B5509
ΔE00 1.30
Bottle Green
#044A05
ΔE00 4.33
Forest Green
#2D5A27
ΔE00 4.58
Darkgreen (survey)
#054907
ΔE00 4.64
Darkgreen
#006400
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0D5812 #580D53
analogous
#2E580D #0D5812 #0D5838
triadic
#0D5812 #120D58 #58120D
tetradic
#0D5812 #0D2E58 #580D53 #58380D
square
#0D5812 #0D2E58 #580D53 #58380D
split-complementary
#0D5812 #380D58 #580D2E
monochromatic
#041B05 #052307 #0D5812 #158D1D #1DC328
Accessibility & contrast
On white
8.67
#0D5812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#0D5812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0D5812
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0D5812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0D5812 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #0d5812; /* rgb */ color: rgb(13, 88, 18); /* oklch */ color: oklch(40.2% 0.123 143.5);
Tailwind
colors: {
custom: {
50: '#5c8855',
500: '#0d5812',
950: '#000000',
},
}SCSS
$custom: #0d5812; $custom-light: #5c8855; $custom-dark: #000000;
JSON
{
"hex": "#0d5812",
"rgb": {
"r": 13,
"g": 88,
"b": 18
},
"hsl": {
"h": 124,
"s": 74.257,
"l": 19.804
},
"oklch": {
"l": 0.40223,
"c": 0.12349,
"h": 143.5
},
"luminance": 0.07109
}Semantic roles & 50–950 ramp
primary
#0D5812
secondary
#932E8C
accent
#37E4F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78