#0C5342#0C5342
#0C5342 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.6% C 0.072 H 171.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5342 |
|---|---|
| RGB | rgb(12, 83, 66) |
| HSL | hsl(166, 75%, 19%) |
| HSV | hsv(166, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 20.5%, 67.5%) |
| CIE-LAB | lab(31.01, -25.49, 4.05) |
| CIE-LCH | lch(31.01, 25.81, 170.97°) |
| OKLab | oklab(39.62% -0.0714 0.0103) |
| OKLCH | oklch(39.62% 0.072 171.8) |
| XYZ | xyz(4.2277, 6.6575, 6.2154) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Blue Green
#005249
ΔE00 3.50
Dark Green Blue
#1F6357
ΔE00 5.94
Evergreen
#05472A
ΔE00 6.35
Dark Turquoise
#045C5A
ΔE00 7.54
Spruce
#0A5F38
ΔE00 7.92
Dark Teal
#014D4E
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5342 #530C1D
analogous
#0C531E #0C5342 #0C4053
triadic
#0C5342 #420C53 #53420C
tetradic
#0C5342 #1E0C53 #530C1D #40530C
square
#0C5342 #1E0C53 #530C1D #40530C
split-complementary
#0C5342 #530C40 #531E0C
monochromatic
#041B15 #041E17 #0C5342 #14886D #1BBE97
Accessibility & contrast
On white
9.01
#0C5342 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#0C5342 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5342
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5342 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D41
Deuteranopia (green-blind)
#474643
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #0c5342; /* rgb */ color: rgb(12, 83, 66); /* oklch */ color: oklch(39.6% 0.072 171.8);
Tailwind
colors: {
custom: {
50: '#598476',
500: '#0c5342',
950: '#000000',
},
}SCSS
$custom: #0c5342; $custom-light: #598476; $custom-dark: #000000;
JSON
{
"hex": "#0c5342",
"rgb": {
"r": 12,
"g": 83,
"b": 66
},
"hsl": {
"h": 165.634,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.39624,
"c": 0.07219,
"h": 171.8
},
"luminance": 0.06658
}Semantic roles & 50–950 ramp
primary
#0C5342
secondary
#8E2D44
accent
#3663F1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B