#0C5142#0C5142
#0C5142 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.0% C 0.070 H 173.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5142 |
|---|---|
| RGB | rgb(12, 81, 66) |
| HSL | hsl(167, 74%, 18%) |
| HSV | hsv(167, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 18.5%, 68.2%) |
| CIE-LAB | lab(30.29, -24.51, 3.02) |
| CIE-LCH | lch(30.29, 24.70, 172.98°) |
| OKLab | oklab(39.03% -0.0692 0.0076) |
| OKLCH | oklch(39.03% 0.07 173.7) |
| XYZ | xyz(4.0769, 6.3559, 6.1651) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Blue Green
#005249
ΔE00 2.77
Dark Green Blue
#1F6357
ΔE00 6.22
Evergreen
#05472A
ΔE00 6.63
Dark Turquoise
#045C5A
ΔE00 7.11
Dark Teal
#014D4E
ΔE00 7.56
Spruce
#0A5F38
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5142 #510C1B
analogous
#0C511F #0C5142 #0C3D51
triadic
#0C5142 #420C51 #51420C
tetradic
#0C5142 #1F0C51 #510C1B #3D510C
square
#0C5142 #1F0C51 #510C1B #3D510C
split-complementary
#0C5142 #510C3D #511F0C
monochromatic
#041B16 #041C17 #0C5142 #14866D #1CBC99
Accessibility & contrast
On white
9.25
#0C5142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#0C5142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5142
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5142 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B41
Deuteranopia (green-blind)
#454543
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c5142; /* rgb */ color: rgb(12, 81, 66); /* oklch */ color: oklch(39.0% 0.070 173.7);
Tailwind
colors: {
custom: {
50: '#598276',
500: '#0c5142',
950: '#000000',
},
}SCSS
$custom: #0c5142; $custom-light: #598276; $custom-dark: #000000;
JSON
{
"hex": "#0c5142",
"rgb": {
"r": 12,
"g": 81,
"b": 66
},
"hsl": {
"h": 166.957,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.39033,
"c": 0.06959,
"h": 173.7
},
"luminance": 0.06356
}Semantic roles & 50–950 ramp
primary
#0C5142
secondary
#8C2C41
accent
#375FF1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B