#0C5A3F#0C5A3F
#0C5A3F is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.084 H 163.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5A3F |
|---|---|
| RGB | rgb(12, 90, 63) |
| HSL | hsl(159, 76%, 20%) |
| HSV | hsv(159, 87%, 35%) |
| CMYK | cmyk(86.7%, 0%, 30%, 64.7%) |
| CIE-LAB | lab(33.45, -29.58, 9.37) |
| CIE-LCH | lch(33.45, 31.03, 162.42°) |
| OKLab | oklab(41.6% -0.0809 0.0239) |
| OKLCH | oklch(41.6% 0.084 163.6) |
| XYZ | xyz(4.7045, 7.7488, 5.9494) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.87
Pine
#2B5D34
ΔE00 5.92
Hunter Green
#355E3B
ΔE00 6.08
Evergreen
#05472A
ΔE00 6.23
Dark Green Blue
#1F6357
ΔE00 6.94
Dark Blue Green
#005249
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5A3F #5A0C27
analogous
#0C5A18 #0C5A3F #0C4E5A
triadic
#0C5A3F #3F0C5A #5A3F0C
tetradic
#0C5A3F #180C5A #5A0C27 #4E5A0C
square
#0C5A3F #180C5A #5A0C27 #4E5A0C
split-complementary
#0C5A3F #5A0C4E #5A180C
monochromatic
#041B13 #052419 #0C5A3F #139065 #1AC68B
Accessibility & contrast
On white
8.24
#0C5A3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#0C5A3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5A3F
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5A3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5A3F | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58533D
Deuteranopia (green-blind)
#4F4C41
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0c5a3f; /* rgb */ color: rgb(12, 90, 63); /* oklch */ color: oklch(41.6% 0.084 163.6);
Tailwind
colors: {
custom: {
50: '#5b8974',
500: '#0c5a3f',
950: '#000000',
},
}SCSS
$custom: #0c5a3f; $custom-light: #5b8974; $custom-dark: #000000;
JSON
{
"hex": "#0c5a3f",
"rgb": {
"r": 12,
"g": 90,
"b": 63
},
"hsl": {
"h": 159.231,
"s": 76.471,
"l": 20
},
"oklch": {
"l": 0.41603,
"c": 0.08439,
"h": 163.6
},
"luminance": 0.07749
}Semantic roles & 50–950 ramp
primary
#0C5A3F
secondary
#952D51
accent
#3577F3
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#040B08
muted
#797C7B