#0C5136#0C5136
#0C5136 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.7% C 0.080 H 161.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5136 |
|---|---|
| RGB | rgb(12, 81, 54) |
| HSL | hsl(157, 74%, 18%) |
| HSV | hsv(157, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 33.3%, 68.2%) |
| CIE-LAB | lab(29.98, -27.84, 10.17) |
| CIE-LCH | lch(29.98, 29.64, 159.94°) |
| OKLab | oklab(38.68% -0.0758 0.0258) |
| OKLCH | oklch(38.68% 0.08 161.2) |
| XYZ | xyz(3.7595, 6.2289, 4.4935) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 3.34
Spruce
#0A5F38
ΔE00 5.37
Pine Green
#0A481E
ΔE00 5.98
Pine
#2B5D34
ΔE00 6.45
Hunter Green
#355E3B
ΔE00 6.80
Dark Blue Green
#005249
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5136 #510C27
analogous
#0C5113 #0C5136 #0C4951
triadic
#0C5136 #360C51 #51360C
tetradic
#0C5136 #130C51 #510C27 #49510C
square
#0C5136 #130C51 #510C27 #49510C
split-complementary
#0C5136 #510C49 #51130C
monochromatic
#041B12 #041C12 #0C5136 #14865A #1CBC7D
Accessibility & contrast
On white
9.35
#0C5136 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#0C5136 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5136
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5136 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5136 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504A34
Deuteranopia (green-blind)
#474438
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c5136; /* rgb */ color: rgb(12, 81, 54); /* oklch */ color: oklch(38.7% 0.080 161.2);
Tailwind
colors: {
custom: {
50: '#58826d',
500: '#0c5136',
950: '#000000',
},
}SCSS
$custom: #0c5136; $custom-light: #58826d; $custom-dark: #000000;
JSON
{
"hex": "#0c5136",
"rgb": {
"r": 12,
"g": 81,
"b": 54
},
"hsl": {
"h": 156.522,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38676,
"c": 0.08009,
"h": 161.2
},
"luminance": 0.06229
}Semantic roles & 50–950 ramp
primary
#0C5136
secondary
#8C2C52
accent
#3780F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A07
muted
#797C7A