#0C5131#0C5131
#0C5131 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.5% C 0.085 H 157.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5131 |
|---|---|
| RGB | rgb(12, 81, 49) |
| HSL | hsl(152, 74%, 18%) |
| HSV | hsv(152, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 39.5%, 68.2%) |
| CIE-LAB | lab(29.87, -29.07, 13.13) |
| CIE-LCH | lch(29.87, 31.89, 155.70°) |
| OKLab | oklab(38.55% -0.0786 0.033) |
| OKLCH | oklch(38.55% 0.085 157.2) |
| XYZ | xyz(3.6481, 6.1843, 3.9066) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 3.13
Pine Green
#0A481E
ΔE00 4.57
Spruce
#0A5F38
ΔE00 4.65
Pine
#2B5D34
ΔE00 5.48
Hunter Green
#355E3B
ΔE00 6.31
Forest Green
#2D5A27
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5131 #510C2C
analogous
#0C510E #0C5131 #0C4E51
triadic
#0C5131 #310C51 #51310C
tetradic
#0C5131 #0E0C51 #510C2C #4E510C
square
#0C5131 #0E0C51 #510C2C #4E510C
split-complementary
#0C5131 #510C4E #510E0C
monochromatic
#041B10 #041C11 #0C5131 #148651 #1CBC71
Accessibility & contrast
On white
9.39
#0C5131 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#0C5131 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5131
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5131 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504A2F
Deuteranopia (green-blind)
#484433
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0c5131; /* rgb */ color: rgb(12, 81, 49); /* oklch */ color: oklch(38.5% 0.085 157.2);
Tailwind
colors: {
custom: {
50: '#588269',
500: '#0c5131',
950: '#000000',
},
}SCSS
$custom: #0c5131; $custom-light: #588269; $custom-dark: #000000;
JSON
{
"hex": "#0c5131",
"rgb": {
"r": 12,
"g": 81,
"b": 49
},
"hsl": {
"h": 152.174,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38549,
"c": 0.08521,
"h": 157.2
},
"luminance": 0.06185
}Semantic roles & 50–950 ramp
primary
#0C5131
secondary
#8C2C59
accent
#378DF1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A