#0C5715#0C5715
#0C5715 is a dark, vivid green. Relative luminance 0.069; OKLCH L 39.9% C 0.120 H 144.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5715 |
|---|---|
| RGB | rgb(12, 87, 21) |
| HSL | hsl(127, 76%, 19%) |
| HSV | hsv(127, 86%, 34%) |
| CMYK | cmyk(86.2%, 0%, 75.9%, 65.9%) |
| CIE-LAB | lab(31.69, -36.18, 30.75) |
| CIE-LCH | lch(31.69, 47.48, 139.63°) |
| OKLab | oklab(39.92% -0.0977 0.0703) |
| OKLCH | oklch(39.92% 0.12 144.3) |
| XYZ | xyz(3.6949, 6.9482, 1.8557) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.31
Forest
#0B5509
ΔE00 1.66
Bottle Green
#044A05
ΔE00 4.11
Forest Green
#2D5A27
ΔE00 4.33
Darkgreen (survey)
#054907
ΔE00 4.35
British Racing Green
#05480D
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5715 #570C4E
analogous
#29570C #0C5715 #0C573B
triadic
#0C5715 #150C57 #57150C
tetradic
#0C5715 #0C2957 #570C4E #573B0C
square
#0C5715 #0C2957 #570C4E #573B0C
split-complementary
#0C5715 #3B0C57 #570C29
monochromatic
#041B06 #052108 #0C5715 #138D22 #1BC32F
Accessibility & contrast
On white
8.79
#0C5715 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#0C5715 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5715
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5715 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5715 | 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)
#594E0B
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #0c5715; /* rgb */ color: rgb(12, 87, 21); /* oklch */ color: oklch(39.9% 0.120 144.3);
Tailwind
colors: {
custom: {
50: '#5b8757',
500: '#0c5715',
950: '#000000',
},
}SCSS
$custom: #0c5715; $custom-light: #5b8757; $custom-dark: #000000;
JSON
{
"hex": "#0c5715",
"rgb": {
"r": 12,
"g": 87,
"b": 21
},
"hsl": {
"h": 127.2,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.39923,
"c": 0.12042,
"h": 144.3
},
"luminance": 0.06949
}Semantic roles & 50–950 ramp
primary
#0C5715
secondary
#922D86
accent
#35DCF2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78