#0D6012#0D6012
#0D6012 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.133 H 143.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #0D6012 |
|---|---|
| RGB | rgb(13, 96, 18) |
| HSL | hsl(124, 76%, 21%) |
| HSV | hsv(124, 86%, 38%) |
| CMYK | cmyk(86.5%, 0%, 81.3%, 62.4%) |
| CIE-LAB | lab(34.99, -39.48, 35.35) |
| CIE-LCH | lch(34.99, 52.99, 138.16°) |
| OKLab | oklab(42.67% -0.1069 0.0795) |
| OKLCH | oklch(42.67% 0.133 143.4) |
| XYZ | xyz(4.4577, 8.4944, 1.9768) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.31
Darkgreen
#006400
ΔE00 2.49
Forest
#0B5509
ΔE00 3.48
Forest Green
#2D5A27
ΔE00 5.56
Bottle Green
#044A05
ΔE00 6.89
Darkgreen (survey)
#054907
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0D6012 #600D5B
analogous
#32600D #0D6012 #0D603C
triadic
#0D6012 #120D60 #60120D
tetradic
#0D6012 #0D3260 #600D5B #603C0D
square
#0D6012 #0D3260 #600D5B #603C0D
split-complementary
#0D6012 #3C0D60 #600D32
monochromatic
#041B05 #062A08 #0D6012 #14961C #1CCC26
Accessibility & contrast
On white
7.78
#0D6012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#0D6012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0D6012
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0D6012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0D6012 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0d6012; /* rgb */ color: rgb(13, 96, 18); /* oklch */ color: oklch(42.7% 0.133 143.4);
Tailwind
colors: {
custom: {
50: '#5e8e56',
500: '#0d6012',
950: '#000000',
},
}SCSS
$custom: #0d6012; $custom-light: #5e8e56; $custom-dark: #000000;
JSON
{
"hex": "#0d6012",
"rgb": {
"r": 13,
"g": 96,
"b": 18
},
"hsl": {
"h": 123.614,
"s": 76.147,
"l": 21.373
},
"oklch": {
"l": 0.42669,
"c": 0.13324,
"h": 143.4
},
"luminance": 0.08495
}Semantic roles & 50–950 ramp
primary
#0D6012
secondary
#9A2F93
accent
#35E7F3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78