#0C5731#0C5731
#0C5731 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.094 H 154.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5731 |
|---|---|
| RGB | rgb(12, 87, 49) |
| HSL | hsl(150, 76%, 19%) |
| HSV | hsv(150, 86%, 34%) |
| CMYK | cmyk(86.2%, 0%, 43.7%, 65.9%) |
| CIE-LAB | lab(32.07, -31.64, 16.05) |
| CIE-LCH | lch(32.07, 35.48, 153.10°) |
| OKLab | oklab(40.36% -0.0852 0.0399) |
| OKLCH | oklch(40.36% 0.094 154.9) |
| XYZ | xyz(4.1138, 7.1158, 4.0618) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.59
Pine
#2B5D34
ΔE00 3.86
Pine Green
#0A481E
ΔE00 5.17
Hunter Green
#355E3B
ΔE00 5.33
Evergreen
#05472A
ΔE00 5.35
Forest Green
#2D5A27
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5731 #570C32
analogous
#0C570C #0C5731 #0C5757
triadic
#0C5731 #310C57 #57310C
tetradic
#0C5731 #0C0C57 #570C32 #57570C
square
#0C5731 #0C0C57 #570C32 #57570C
split-complementary
#0C5731 #570C57 #570C0C
monochromatic
#041B0F #052113 #0C5731 #138D4F #1BC36E
Accessibility & contrast
On white
8.67
#0C5731 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#0C5731 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5731
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5731 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2E
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #0c5731; /* rgb */ color: rgb(12, 87, 49); /* oklch */ color: oklch(40.4% 0.094 154.9);
Tailwind
colors: {
custom: {
50: '#5a8769',
500: '#0c5731',
950: '#000000',
},
}SCSS
$custom: #0c5731; $custom-light: #5a8769; $custom-dark: #000000;
JSON
{
"hex": "#0c5731",
"rgb": {
"r": 12,
"g": 87,
"b": 49
},
"hsl": {
"h": 149.6,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.40362,
"c": 0.0941,
"h": 154.9
},
"luminance": 0.07116
}Semantic roles & 50–950 ramp
primary
#0C5731
secondary
#922D60
accent
#3595F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A