#0C5712#0C5712
#0C5712 is a dark, vivid green. Relative luminance 0.069; OKLCH L 39.9% C 0.122 H 143.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5712 |
|---|---|
| RGB | rgb(12, 87, 18) |
| HSL | hsl(125, 76%, 19%) |
| HSV | hsv(125, 86%, 34%) |
| CMYK | cmyk(86.2%, 0%, 79.3%, 65.9%) |
| CIE-LAB | lab(31.66, -36.47, 32.02) |
| CIE-LCH | lch(31.66, 48.53, 138.72°) |
| OKLab | oklab(39.9% -0.0987 0.0726) |
| OKLCH | oklch(39.9% 0.123 143.7) |
| XYZ | xyz(3.6688, 6.9378, 1.7179) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 0.98
Forest
#0B5509
ΔE00 1.21
Bottle Green
#044A05
ΔE00 4.03
Darkgreen (survey)
#054907
ΔE00 4.33
Forest Green
#2D5A27
ΔE00 4.58
British Racing Green
#05480D
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5712 #570C51
analogous
#2C570C #0C5712 #0C5738
triadic
#0C5712 #120C57 #57120C
tetradic
#0C5712 #0C2C57 #570C51 #57380C
square
#0C5712 #0C2C57 #570C51 #57380C
split-complementary
#0C5712 #380C57 #570C2C
monochromatic
#041B06 #052107 #0C5712 #138D1D #1BC328
Accessibility & contrast
On white
8.80
#0C5712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#0C5712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5712
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5712 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #0c5712; /* rgb */ color: rgb(12, 87, 18); /* oklch */ color: oklch(39.9% 0.122 143.7);
Tailwind
colors: {
custom: {
50: '#5b8755',
500: '#0c5712',
950: '#000000',
},
}SCSS
$custom: #0c5712; $custom-light: #5b8755; $custom-dark: #000000;
JSON
{
"hex": "#0c5712",
"rgb": {
"r": 12,
"g": 87,
"b": 18
},
"hsl": {
"h": 124.8,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.39896,
"c": 0.1225,
"h": 143.7
},
"luminance": 0.06938
}Semantic roles & 50–950 ramp
primary
#0C5712
secondary
#922D8A
accent
#35E3F2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78