#0C4F39#0C4F39
#0C4F39 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.2% C 0.074 H 165.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F39 |
|---|---|
| RGB | rgb(12, 79, 57) |
| HSL | hsl(160, 74%, 18%) |
| HSV | hsv(160, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 27.8%, 69%) |
| CIE-LAB | lab(29.32, -26.13, 7.36) |
| CIE-LCH | lch(29.32, 27.14, 164.27°) |
| OKLab | oklab(38.16% -0.0719 0.0188) |
| OKLCH | oklch(38.16% 0.074 165.4) |
| XYZ | xyz(3.6857, 5.9651, 4.8272) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 3.85
Dark Blue Green
#005249
ΔE00 5.75
Spruce
#0A5F38
ΔE00 6.94
Pine Green
#0A481E
ΔE00 7.30
Hunter Green
#355E3B
ΔE00 7.92
Pine
#2B5D34
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F39 #4F0C22
analogous
#0C4F18 #0C4F39 #0C434F
triadic
#0C4F39 #390C4F #4F390C
tetradic
#0C4F39 #180C4F #4F0C22 #434F0C
square
#0C4F39 #180C4F #4F0C22 #434F0C
split-complementary
#0C4F39 #4F0C43 #4F180C
monochromatic
#041B13 #041B13 #0C4F39 #14845F #1CB986
Accessibility & contrast
On white
9.58
#0C4F39 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#0C4F39 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F39
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F39 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4938
Deuteranopia (green-blind)
#45433A
Tritanopia (blue-blind)
#004F49
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c4f39; /* rgb */ color: rgb(12, 79, 57); /* oklch */ color: oklch(38.2% 0.074 165.4);
Tailwind
colors: {
custom: {
50: '#58816f',
500: '#0c4f39',
950: '#000000',
},
}SCSS
$custom: #0c4f39; $custom-light: #58816f; $custom-dark: #000000;
JSON
{
"hex": "#0c4f39",
"rgb": {
"r": 12,
"g": 79,
"b": 57
},
"hsl": {
"h": 160.299,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.38158,
"c": 0.0743,
"h": 165.4
},
"luminance": 0.05966
}Semantic roles & 50–950 ramp
primary
#0C4F39
secondary
#8B2C4B
accent
#3874F0
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A