#0F5F42#0F5F42
#0F5F42 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.2% C 0.088 H 162.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F42 |
|---|---|
| RGB | rgb(15, 95, 66) |
| HSL | hsl(158, 73%, 22%) |
| HSV | hsv(158, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 30.5%, 62.7%) |
| CIE-LAB | lab(35.36, -30.69, 10.18) |
| CIE-LCH | lch(35.36, 32.33, 161.65°) |
| OKLab | oklab(43.21% -0.0839 0.0259) |
| OKLCH | oklch(43.21% 0.088 162.8) |
| XYZ | xyz(5.2720, 8.6787, 6.5505) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.11
Pine
#2B5D34
ΔE00 5.53
Hunter Green
#355E3B
ΔE00 5.71
Dark Green Blue
#1F6357
ΔE00 6.83
Evergreen
#05472A
ΔE00 7.70
Dark Blue Green
#005249
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F42 #5F0F2C
analogous
#0F5F1A #0F5F42 #0F545F
triadic
#0F5F42 #420F5F #5F420F
tetradic
#0F5F42 #1A0F5F #5F0F2C #545F0F
square
#0F5F42 #1A0F5F #5F0F2C #545F0F
split-complementary
#0F5F42 #5F0F54 #5F1A0F
monochromatic
#041A12 #072A1D #0F5F42 #179467 #20C98B
Accessibility & contrast
On white
7.68
#0F5F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#0F5F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F42
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F42 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5740
Deuteranopia (green-blind)
#545044
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #0f5f42; /* rgb */ color: rgb(15, 95, 66); /* oklch */ color: oklch(43.2% 0.088 162.8);
Tailwind
colors: {
custom: {
50: '#5d8d76',
500: '#0f5f42',
950: '#000000',
},
}SCSS
$custom: #0f5f42; $custom-light: #5d8d76; $custom-dark: #000000;
JSON
{
"hex": "#0f5f42",
"rgb": {
"r": 15,
"g": 95,
"b": 66
},
"hsl": {
"h": 158.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.43207,
"c": 0.08777,
"h": 162.8
},
"luminance": 0.08679
}Semantic roles & 50–950 ramp
primary
#0F5F42
secondary
#983257
accent
#387BEF
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B