#0C5340#0C5340
#0C5340 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.074 H 169.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5340 |
|---|---|
| RGB | rgb(12, 83, 64) |
| HSL | hsl(164, 75%, 19%) |
| HSV | hsv(164, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 22.9%, 67.5%) |
| CIE-LAB | lab(30.96, -26.07, 5.24) |
| CIE-LCH | lch(30.96, 26.59, 168.64°) |
| OKLab | oklab(39.56% -0.0725 0.0134) |
| OKLCH | oklch(39.56% 0.074 169.6) |
| XYZ | xyz(4.1698, 6.6343, 5.9103) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Blue Green
#005249
ΔE00 4.30
Evergreen
#05472A
ΔE00 5.72
Dark Green Blue
#1F6357
ΔE00 6.35
Spruce
#0A5F38
ΔE00 7.22
Hunter Green
#355E3B
ΔE00 8.21
Dark Turquoise
#045C5A
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5340 #530C1F
analogous
#0C531C #0C5340 #0C4253
triadic
#0C5340 #400C53 #53400C
tetradic
#0C5340 #1C0C53 #530C1F #42530C
square
#0C5340 #1C0C53 #530C1F #42530C
split-complementary
#0C5340 #530C42 #531C0C
monochromatic
#041B15 #041E17 #0C5340 #148869 #1BBE92
Accessibility & contrast
On white
9.02
#0C5340 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#0C5340 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5340
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5340 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D3F
Deuteranopia (green-blind)
#484641
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #0c5340; /* rgb */ color: rgb(12, 83, 64); /* oklch */ color: oklch(39.6% 0.074 169.6);
Tailwind
colors: {
custom: {
50: '#598474',
500: '#0c5340',
950: '#000000',
},
}SCSS
$custom: #0c5340; $custom-light: #598474; $custom-dark: #000000;
JSON
{
"hex": "#0c5340",
"rgb": {
"r": 12,
"g": 83,
"b": 64
},
"hsl": {
"h": 163.944,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.39561,
"c": 0.07377,
"h": 169.6
},
"luminance": 0.06635
}Semantic roles & 50–950 ramp
primary
#0C5340
secondary
#8E2D47
accent
#3668F1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B