#0C4F36#0C4F36
#0C4F36 is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.1% C 0.077 H 162.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F36 |
|---|---|
| RGB | rgb(12, 79, 54) |
| HSL | hsl(158, 74%, 18%) |
| HSV | hsv(158, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 31.6%, 69%) |
| CIE-LAB | lab(29.25, -26.93, 9.15) |
| CIE-LCH | lch(29.25, 28.44, 161.22°) |
| OKLab | oklab(38.07% -0.0735 0.0233) |
| OKLCH | oklch(38.07% 0.077 162.4) |
| XYZ | xyz(3.6131, 5.9360, 4.4447) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Evergreen
#05472A
ΔE00 3.08
Spruce
#0A5F38
ΔE00 6.23
Pine Green
#0A481E
ΔE00 6.25
Dark Blue Green
#005249
ΔE00 6.87
Pine
#2B5D34
ΔE00 7.19
Hunter Green
#355E3B
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F36 #4F0C25
analogous
#0C4F15 #0C4F36 #0C464F
triadic
#0C4F36 #360C4F #4F360C
tetradic
#0C4F36 #150C4F #4F0C25 #464F0C
square
#0C4F36 #150C4F #4F0C25 #464F0C
split-complementary
#0C4F36 #4F0C46 #4F150C
monochromatic
#041B12 #041B12 #0C4F36 #14845A #1CB97F
Accessibility & contrast
On white
9.60
#0C4F36 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#0C4F36 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F36
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F36 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4835
Deuteranopia (green-blind)
#454338
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c4f36; /* rgb */ color: rgb(12, 79, 54); /* oklch */ color: oklch(38.1% 0.077 162.4);
Tailwind
colors: {
custom: {
50: '#58816d',
500: '#0c4f36',
950: '#000000',
},
}SCSS
$custom: #0c4f36; $custom-light: #58816d; $custom-dark: #000000;
JSON
{
"hex": "#0c4f36",
"rgb": {
"r": 12,
"g": 79,
"b": 54
},
"hsl": {
"h": 157.612,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.38073,
"c": 0.07715,
"h": 162.4
},
"luminance": 0.05936
}Semantic roles & 50–950 ramp
primary
#0C4F36
secondary
#8B2C4F
accent
#387CF0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A07
muted
#797C7A