#0C561F#0C561F
#0C561F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.111 H 147.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #0C561F |
|---|---|
| RGB | rgb(12, 86, 31) |
| HSL | hsl(135, 76%, 19%) |
| HSV | hsv(135, 86%, 34%) |
| CMYK | cmyk(86%, 0%, 64%, 66.3%) |
| CIE-LAB | lab(31.42, -34.55, 25.54) |
| CIE-LCH | lch(31.42, 42.96, 143.52°) |
| OKLab | oklab(39.74% -0.0929 0.0604) |
| OKLCH | oklch(39.74% 0.111 147) |
| XYZ | xyz(3.7264, 6.8322, 2.4184) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.35
Forest
#0B5509
ΔE00 3.71
Forest Green
#2D5A27
ΔE00 3.84
British Racing Green
#05480D
ΔE00 4.58
Bottle Green
#044A05
ΔE00 4.77
Darkgreen (survey)
#054907
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C561F #560C43
analogous
#1E560C #0C561F #0C5644
triadic
#0C561F #1F0C56 #561F0C
tetradic
#0C561F #0C1E56 #560C43 #56440C
square
#0C561F #0C1E56 #560C43 #56440C
split-complementary
#0C561F #440C56 #560C1E
monochromatic
#041B0A #05200C #0C561F #138C32 #1BC146
Accessibility & contrast
On white
8.87
#0C561F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#0C561F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C561F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C561F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C561F | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D19
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #0c561f; /* rgb */ color: rgb(12, 86, 31); /* oklch */ color: oklch(39.7% 0.111 147.0);
Tailwind
colors: {
custom: {
50: '#5a865d',
500: '#0c561f',
950: '#000000',
},
}SCSS
$custom: #0c561f; $custom-light: #5a865d; $custom-dark: #000000;
JSON
{
"hex": "#0c561f",
"rgb": {
"r": 12,
"g": 86,
"b": 31
},
"hsl": {
"h": 135.405,
"s": 75.51,
"l": 19.216
},
"oklch": {
"l": 0.39735,
"c": 0.11081,
"h": 147
},
"luminance": 0.06833
}Semantic roles & 50–950 ramp
primary
#0C561F
secondary
#912D77
accent
#36C2F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79