#0F5847#0F5847

#0F5847 is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.3% C 0.074 H 172.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#0F5847
RGBrgb(15, 88, 71)
HSLhsl(166, 71%, 20%)
HSVhsv(166, 83%, 35%)
CMYKcmyk(83%, 0%, 19.3%, 65.5%)
CIE-LABlab(33.00, -26.07, 3.75)
CIE-LCHlch(33.00, 26.34, 171.82°)
OKLaboklab(41.31% -0.0733 0.0095)
OKLCHoklch(41.31% 0.074 172.6)
XYZxyz(4.8235, 7.5353, 7.1603)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5847 #580F20
analogous
#0F5822 #0F5847 #0F4558
triadic
#0F5847 #470F58 #58470F
tetradic
#0F5847 #220F58 #580F20 #45580F
square
#0F5847 #220F58 #580F20 #45580F
split-complementary
#0F5847 #580F45 #58220F
monochromatic
#041A15 #06241D #0F5847 #188C71 #21C19B

Accessibility & contrast

On white

8.38
#0F5847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#0F5847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5847
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5847#FFFFFF#000000##FFFFFF
##0F58471.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555246
Deuteranopia (green-blind)
#4C4B48
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5847;
/* rgb */ color: rgb(15, 88, 71);
/* oklch */ color: oklch(41.3% 0.074 172.6);
Tailwind
colors: {
  custom: {
    50: '#5c887a',
    500: '#0f5847',
    950: '#000000',
  },
}
SCSS
$custom: #0f5847;
$custom-light: #5c887a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5847",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 71
  },
  "hsl": {
    "h": 166.027,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41309,
    "c": 0.07393,
    "h": 172.6
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#0F5847
secondary
#923148
accent
#3A64EE
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5847

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0F5847 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva