#0C5F4C#0C5F4C
#0C5F4C is a dark, moderate teal. Relative luminance 0.088; OKLCH L 43.4% C 0.080 H 172.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F4C |
|---|---|
| RGB | rgb(12, 95, 76) |
| HSL | hsl(166, 78%, 21%) |
| HSV | hsv(166, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 20%, 62.7%) |
| CIE-LAB | lab(35.56, -28.31, 4.31) |
| CIE-LCH | lch(35.56, 28.64, 171.34°) |
| OKLab | oklab(43.45% -0.0794 0.0109) |
| OKLCH | oklch(43.45% 0.08 172.2) |
| XYZ | xyz(5.5476, 8.7837, 8.2391) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Green Blue
#1F6357
ΔE00 3.54
Dark Blue Green
#005249
ΔE00 5.63
Spruce
#0A5F38
ΔE00 6.77
Dark Turquoise
#045C5A
ΔE00 7.41
Hunter Green
#355E3B
ΔE00 8.15
Pine
#2B5D34
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F4C #5F0C1F
analogous
#0C5F22 #0C5F4C #0C485F
triadic
#0C5F4C #4C0C5F #5F4C0C
tetradic
#0C5F4C #220C5F #5F0C1F #485F0C
square
#0C5F4C #220C5F #5F0C1F #485F0C
split-complementary
#0C5F4C #5F0C48 #5F220C
monochromatic
#031B16 #052921 #0C5F4C #139577 #1ACCA3
Accessibility & contrast
On white
7.62
#0C5F4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#0C5F4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F4C
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F4C | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C584B
Deuteranopia (green-blind)
#52514D
Tritanopia (blue-blind)
#00605A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #0c5f4c; /* rgb */ color: rgb(12, 95, 76); /* oklch */ color: oklch(43.4% 0.080 172.2);
Tailwind
colors: {
custom: {
50: '#5d8d7e',
500: '#0c5f4c',
950: '#000000',
},
}SCSS
$custom: #0c5f4c; $custom-light: #5d8d7e; $custom-dark: #000000;
JSON
{
"hex": "#0c5f4c",
"rgb": {
"r": 12,
"g": 95,
"b": 76
},
"hsl": {
"h": 166.265,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.43447,
"c": 0.08014,
"h": 172.2
},
"luminance": 0.08784
}Semantic roles & 50–950 ramp
primary
#0C5F4C
secondary
#992D46
accent
#3460F4
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B