#0C5718#0C5718
#0C5718 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.118 H 144.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5718 |
|---|---|
| RGB | rgb(12, 87, 24) |
| HSL | hsl(130, 76%, 19%) |
| HSV | hsv(130, 86%, 34%) |
| CMYK | cmyk(86.2%, 0%, 72.4%, 65.9%) |
| CIE-LAB | lab(31.72, -35.84, 29.40) |
| CIE-LCH | lch(31.72, 46.36, 140.64°) |
| OKLab | oklab(39.95% -0.0967 0.0679) |
| OKLCH | oklch(39.95% 0.118 144.9) |
| XYZ | xyz(3.7244, 6.9600, 2.0111) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.77
Forest
#0B5509
ΔE00 2.19
Forest Green
#2D5A27
ΔE00 4.09
Bottle Green
#044A05
ΔE00 4.26
Darkgreen (survey)
#054907
ΔE00 4.44
British Racing Green
#05480D
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5718 #570C4B
analogous
#26570C #0C5718 #0C573E
triadic
#0C5718 #180C57 #57180C
tetradic
#0C5718 #0C2657 #570C4B #573E0C
square
#0C5718 #0C2657 #570C4B #573E0C
split-complementary
#0C5718 #3E0C57 #570C26
monochromatic
#041B07 #052109 #0C5718 #138D27 #1BC336
Accessibility & contrast
On white
8.78
#0C5718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#0C5718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5718
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5718 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#51481E
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #0c5718; /* rgb */ color: rgb(12, 87, 24); /* oklch */ color: oklch(40.0% 0.118 144.9);
Tailwind
colors: {
custom: {
50: '#5b8758',
500: '#0c5718',
950: '#000000',
},
}SCSS
$custom: #0c5718; $custom-light: #5b8758; $custom-dark: #000000;
JSON
{
"hex": "#0c5718",
"rgb": {
"r": 12,
"g": 87,
"b": 24
},
"hsl": {
"h": 129.6,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.39954,
"c": 0.11815,
"h": 144.9
},
"luminance": 0.06961
}Semantic roles & 50–950 ramp
primary
#0C5718
secondary
#922D82
accent
#35D4F2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B03
muted
#797C78