#0C5716#0C5716
#0C5716 is a dark, moderate green. Relative luminance 0.070; OKLCH L 39.9% C 0.120 H 144.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5716 |
|---|---|
| RGB | rgb(12, 87, 22) |
| HSL | hsl(128, 76%, 19%) |
| HSV | hsv(128, 86%, 34%) |
| CMYK | cmyk(86.2%, 0%, 74.7%, 65.9%) |
| CIE-LAB | lab(31.70, -36.07, 30.31) |
| CIE-LCH | lch(31.70, 47.11, 139.96°) |
| OKLab | oklab(39.93% -0.0974 0.0695) |
| OKLCH | oklch(39.93% 0.12 144.5) |
| XYZ | xyz(3.7044, 6.9520, 1.9055) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.45
Forest
#0B5509
ΔE00 1.83
Bottle Green
#044A05
ΔE00 4.15
Forest Green
#2D5A27
ΔE00 4.25
Darkgreen (survey)
#054907
ΔE00 4.37
British Racing Green
#05480D
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5716 #570C4D
analogous
#28570C #0C5716 #0C573C
triadic
#0C5716 #160C57 #57160C
tetradic
#0C5716 #0C2857 #570C4D #573C0C
square
#0C5716 #0C2857 #570C4D #573C0C
split-complementary
#0C5716 #3C0C57 #570C28
monochromatic
#041B07 #052108 #0C5716 #138D24 #1BC331
Accessibility & contrast
On white
8.79
#0C5716 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#0C5716 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5716
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5716 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5716 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594E0C
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #0c5716; /* rgb */ color: rgb(12, 87, 22); /* oklch */ color: oklch(39.9% 0.120 144.5);
Tailwind
colors: {
custom: {
50: '#5b8757',
500: '#0c5716',
950: '#000000',
},
}SCSS
$custom: #0c5716; $custom-light: #5b8757; $custom-dark: #000000;
JSON
{
"hex": "#0c5716",
"rgb": {
"r": 12,
"g": 87,
"b": 22
},
"hsl": {
"h": 128,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.39933,
"c": 0.11969,
"h": 144.5
},
"luminance": 0.06952
}Semantic roles & 50–950 ramp
primary
#0C5716
secondary
#922D85
accent
#35D9F2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78