#0F5947#0F5947

#0F5947 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.075 H 171.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#0F5947
RGBrgb(15, 89, 71)
HSLhsl(165, 71%, 20%)
HSVhsv(165, 83%, 35%)
CMYKcmyk(83.1%, 0%, 20.2%, 65.1%)
CIE-LABlab(33.35, -26.55, 4.26)
CIE-LCHlch(33.35, 26.89, 170.89°)
OKLaboklab(41.6% -0.0744 0.0108)
OKLCHoklch(41.6% 0.075 171.7)
XYZxyz(4.9061, 7.7006, 7.1878)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5947 #590F21
analogous
#0F5922 #0F5947 #0F4659
triadic
#0F5947 #470F59 #59470F
tetradic
#0F5947 #220F59 #590F21 #46590F
square
#0F5947 #220F59 #590F21 #46590F
split-complementary
#0F5947 #590F46 #59220F
monochromatic
#041A15 #06251D #0F5947 #188D71 #21C29B

Accessibility & contrast

On white

8.27
#0F5947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5947
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5947#FFFFFF#000000##FFFFFF
##0F59471.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565246
Deuteranopia (green-blind)
#4D4C48
Tritanopia (blue-blind)
#005A54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5947;
/* rgb */ color: rgb(15, 89, 71);
/* oklch */ color: oklch(41.6% 0.075 171.7);
Tailwind
colors: {
  custom: {
    50: '#5c887a',
    500: '#0f5947',
    950: '#000000',
  },
}
SCSS
$custom: #0f5947;
$custom-light: #5c887a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5947",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 71
  },
  "hsl": {
    "h": 165.405,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.07523,
    "h": 171.7
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#0F5947
secondary
#933149
accent
#3A66EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5947

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

Preview Lab → · Contrast checker → · Palette generator →

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