#0F5D42#0F5D42
#0F5D42 is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.6% C 0.085 H 164.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D42 |
|---|---|
| RGB | rgb(15, 93, 66) |
| HSL | hsl(159, 72%, 21%) |
| HSV | hsv(159, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 29%, 63.5%) |
| CIE-LAB | lab(34.65, -29.79, 9.19) |
| CIE-LCH | lch(34.65, 31.18, 162.85°) |
| OKLab | oklab(42.62% -0.0816 0.0234) |
| OKLCH | oklch(42.62% 0.085 164) |
| XYZ | xyz(5.0941, 8.3230, 6.4912) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.73
Pine
#2B5D34
ΔE00 5.91
Hunter Green
#355E3B
ΔE00 5.95
Dark Green Blue
#1F6357
ΔE00 6.44
Evergreen
#05472A
ΔE00 7.19
Dark Blue Green
#005249
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D42 #5D0F2A
analogous
#0F5D1B #0F5D42 #0F515D
triadic
#0F5D42 #420F5D #5D420F
tetradic
#0F5D42 #1B0F5D #5D0F2A #515D0F
square
#0F5D42 #1B0F5D #5D0F2A #515D0F
split-complementary
#0F5D42 #5D0F51 #5D1B0F
monochromatic
#041A13 #06281D #0F5D42 #179267 #20C68D
Accessibility & contrast
On white
7.88
#0F5D42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#0F5D42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D42
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D42 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5640
Deuteranopia (green-blind)
#524F44
Tritanopia (blue-blind)
#005D56
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5d42; /* rgb */ color: rgb(15, 93, 66); /* oklch */ color: oklch(42.6% 0.085 164.0);
Tailwind
colors: {
custom: {
50: '#5d8b76',
500: '#0f5d42',
950: '#000000',
},
}SCSS
$custom: #0f5d42; $custom-light: #5d8b76; $custom-dark: #000000;
JSON
{
"hex": "#0f5d42",
"rgb": {
"r": 15,
"g": 93,
"b": 66
},
"hsl": {
"h": 159.231,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42622,
"c": 0.08495,
"h": 164
},
"luminance": 0.08324
}Semantic roles & 50–950 ramp
primary
#0F5D42
secondary
#963154
accent
#3978EF
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B