#0C571C#0C571C
#0C571C is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.115 H 146.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #0C571C |
|---|---|
| RGB | rgb(12, 87, 28) |
| HSL | hsl(133, 76%, 19%) |
| HSV | hsv(133, 86%, 34%) |
| CMYK | cmyk(86.2%, 0%, 67.8%, 65.9%) |
| CIE-LAB | lab(31.76, -35.34, 27.48) |
| CIE-LCH | lch(31.76, 44.77, 142.13°) |
| OKLab | oklab(40% -0.0952 0.0643) |
| OKLCH | oklch(40% 0.115 146) |
| XYZ | xyz(3.7691, 6.9779, 2.2466) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.50
Forest
#0B5509
ΔE00 2.96
Forest Green
#2D5A27
ΔE00 3.87
Bottle Green
#044A05
ΔE00 4.58
Darkgreen (survey)
#054907
ΔE00 4.69
British Racing Green
#05480D
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C571C #570C47
analogous
#22570C #0C571C #0C5742
triadic
#0C571C #1C0C57 #571C0C
tetradic
#0C571C #0C2257 #570C47 #57420C
square
#0C571C #0C2257 #570C47 #57420C
split-complementary
#0C571C #420C57 #570C22
monochromatic
#041B09 #05210B #0C571C #138D2D #1BC33F
Accessibility & contrast
On white
8.77
#0C571C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#0C571C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C571C
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C571C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C571C | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584E15
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #0c571c; /* rgb */ color: rgb(12, 87, 28); /* oklch */ color: oklch(40.0% 0.115 146.0);
Tailwind
colors: {
custom: {
50: '#5b875b',
500: '#0c571c',
950: '#000000',
},
}SCSS
$custom: #0c571c; $custom-light: #5b875b; $custom-dark: #000000;
JSON
{
"hex": "#0c571c",
"rgb": {
"r": 12,
"g": 87,
"b": 28
},
"hsl": {
"h": 132.8,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.40002,
"c": 0.11484,
"h": 146
},
"luminance": 0.06978
}Semantic roles & 50–950 ramp
primary
#0C571C
secondary
#922D7C
accent
#35CAF2
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79