#0C5F42#0C5F42
#0C5F42 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.2% C 0.089 H 163.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F42 |
|---|---|
| RGB | rgb(12, 95, 66) |
| HSL | hsl(159, 78%, 21%) |
| HSV | hsv(159, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 30.5%, 62.7%) |
| CIE-LAB | lab(35.31, -31.04, 10.11) |
| CIE-LCH | lch(35.31, 32.64, 161.96°) |
| OKLab | oklab(43.16% -0.0848 0.0257) |
| OKLCH | oklch(43.16% 0.089 163.1) |
| XYZ | xyz(5.2266, 8.6553, 6.5484) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.13
Pine
#2B5D34
ΔE00 5.65
Hunter Green
#355E3B
ΔE00 5.87
Dark Green Blue
#1F6357
ΔE00 6.85
Evergreen
#05472A
ΔE00 7.71
Dark Blue Green
#005249
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F42 #5F0C29
analogous
#0C5F18 #0C5F42 #0C525F
triadic
#0C5F42 #420C5F #5F420C
tetradic
#0C5F42 #180C5F #5F0C29 #525F0C
square
#0C5F42 #180C5F #5F0C29 #525F0C
split-complementary
#0C5F42 #5F0C52 #5F180C
monochromatic
#031B13 #05291C #0C5F42 #139568 #1ACC8D
Accessibility & contrast
On white
7.69
#0C5F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#0C5F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F42
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F42 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5740
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #0c5f42; /* rgb */ color: rgb(12, 95, 66); /* oklch */ color: oklch(43.2% 0.089 163.1);
Tailwind
colors: {
custom: {
50: '#5c8d76',
500: '#0c5f42',
950: '#000000',
},
}SCSS
$custom: #0c5f42; $custom-light: #5c8d76; $custom-dark: #000000;
JSON
{
"hex": "#0c5f42",
"rgb": {
"r": 12,
"g": 95,
"b": 66
},
"hsl": {
"h": 159.036,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.43156,
"c": 0.08861,
"h": 163.1
},
"luminance": 0.08656
}Semantic roles & 50–950 ramp
primary
#0C5F42
secondary
#992D53
accent
#3477F4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B