#0C5F40#0C5F40
#0C5F40 is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.1% C 0.091 H 161.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F40 |
|---|---|
| RGB | rgb(12, 95, 64) |
| HSL | hsl(158, 78%, 21%) |
| HSV | hsv(158, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 32.6%, 62.7%) |
| CIE-LAB | lab(35.27, -31.54, 11.27) |
| CIE-LCH | lch(35.27, 33.50, 160.34°) |
| OKLab | oklab(43.1% -0.0859 0.0286) |
| OKLCH | oklch(43.1% 0.091 161.6) |
| XYZ | xyz(5.1687, 8.6321, 6.2432) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.47
Pine
#2B5D34
ΔE00 5.15
Hunter Green
#355E3B
ΔE00 5.57
Dark Green Blue
#1F6357
ΔE00 7.49
Evergreen
#05472A
ΔE00 7.61
Forest Green
#2D5A27
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F40 #5F0C2B
analogous
#0C5F16 #0C5F40 #0C545F
triadic
#0C5F40 #400C5F #5F400C
tetradic
#0C5F40 #160C5F #5F0C2B #545F0C
square
#0C5F40 #160C5F #5F0C2B #545F0C
split-complementary
#0C5F40 #5F0C54 #5F160C
monochromatic
#031B12 #05291B #0C5F40 #139565 #1ACC89
Accessibility & contrast
On white
7.70
#0C5F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#0C5F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F40
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F40 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #0c5f40; /* rgb */ color: rgb(12, 95, 64); /* oklch */ color: oklch(43.1% 0.091 161.6);
Tailwind
colors: {
custom: {
50: '#5c8d75',
500: '#0c5f40',
950: '#000000',
},
}SCSS
$custom: #0c5f40; $custom-light: #5c8d75; $custom-dark: #000000;
JSON
{
"hex": "#0c5f40",
"rgb": {
"r": 12,
"g": 95,
"b": 64
},
"hsl": {
"h": 157.59,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.43103,
"c": 0.09051,
"h": 161.6
},
"luminance": 0.08633
}Semantic roles & 50–950 ramp
primary
#0C5F40
secondary
#992D56
accent
#347CF4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B