#0C5F3F#0C5F3F
#0C5F3F is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.1% C 0.091 H 160.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F3F |
|---|---|
| RGB | rgb(12, 95, 63) |
| HSL | hsl(157, 78%, 21%) |
| HSV | hsv(157, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 33.7%, 62.7%) |
| CIE-LAB | lab(35.24, -31.79, 11.85) |
| CIE-LCH | lch(35.24, 33.93, 159.56°) |
| OKLab | oklab(43.08% -0.0864 0.03) |
| OKLCH | oklch(43.08% 0.091 160.9) |
| XYZ | xyz(5.1405, 8.6208, 6.0947) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.14
Pine
#2B5D34
ΔE00 4.92
Hunter Green
#355E3B
ΔE00 5.45
Evergreen
#05472A
ΔE00 7.58
Dark Green Blue
#1F6357
ΔE00 7.80
Forest Green
#2D5A27
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F3F #5F0C2C
analogous
#0C5F15 #0C5F3F #0C555F
triadic
#0C5F3F #3F0C5F #5F3F0C
tetradic
#0C5F3F #150C5F #5F0C2C #555F0C
square
#0C5F3F #150C5F #5F0C2C #555F0C
split-complementary
#0C5F3F #5F0C55 #5F150C
monochromatic
#031B12 #05291B #0C5F3F #139563 #1ACC87
Accessibility & contrast
On white
7.71
#0C5F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#0C5F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F3F
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F3F | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E573D
Deuteranopia (green-blind)
#545041
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #0c5f3f; /* rgb */ color: rgb(12, 95, 63); /* oklch */ color: oklch(43.1% 0.091 160.9);
Tailwind
colors: {
custom: {
50: '#5c8d74',
500: '#0c5f3f',
950: '#000000',
},
}SCSS
$custom: #0c5f3f; $custom-light: #5c8d74; $custom-dark: #000000;
JSON
{
"hex": "#0c5f3f",
"rgb": {
"r": 12,
"g": 95,
"b": 63
},
"hsl": {
"h": 156.867,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.43077,
"c": 0.09148,
"h": 160.9
},
"luminance": 0.08621
}Semantic roles & 50–950 ramp
primary
#0C5F3F
secondary
#992D57
accent
#347EF4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B