#0C513A#0C513A
#0C513A is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.8% C 0.076 H 164.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #0C513A |
|---|---|
| RGB | rgb(12, 81, 58) |
| HSL | hsl(160, 74%, 18%) |
| HSV | hsv(160, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 28.4%, 68.2%) |
| CIE-LAB | lab(30.08, -26.79, 7.78) |
| CIE-LCH | lch(30.08, 27.90, 163.80°) |
| OKLab | oklab(38.79% -0.0736 0.0199) |
| OKLCH | oklch(38.79% 0.076 164.9) |
| XYZ | xyz(3.8573, 6.2680, 5.0087) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 4.11
Dark Blue Green
#005249
ΔE00 5.95
Spruce
#0A5F38
ΔE00 6.30
Pine Green
#0A481E
ΔE00 7.28
Hunter Green
#355E3B
ΔE00 7.47
Pine
#2B5D34
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C513A #510C23
analogous
#0C5117 #0C513A #0C4551
triadic
#0C513A #3A0C51 #513A0C
tetradic
#0C513A #170C51 #510C23 #45510C
square
#0C513A #170C51 #510C23 #45510C
split-complementary
#0C513A #510C45 #51170C
monochromatic
#041B13 #041C14 #0C513A #148660 #1CBC86
Accessibility & contrast
On white
9.32
#0C513A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#0C513A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C513A
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C513A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C513A | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4A39
Deuteranopia (green-blind)
#47443C
Tritanopia (blue-blind)
#00514B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c513a; /* rgb */ color: rgb(12, 81, 58); /* oklch */ color: oklch(38.8% 0.076 164.9);
Tailwind
colors: {
custom: {
50: '#598270',
500: '#0c513a',
950: '#000000',
},
}SCSS
$custom: #0c513a; $custom-light: #598270; $custom-dark: #000000;
JSON
{
"hex": "#0c513a",
"rgb": {
"r": 12,
"g": 81,
"b": 58
},
"hsl": {
"h": 160,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38786,
"c": 0.07623,
"h": 164.9
},
"luminance": 0.06269
}Semantic roles & 50–950 ramp
primary
#0C513A
secondary
#8C2C4C
accent
#3775F1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A