#0F5A47#0F5A47

#0F5A47 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 41.9% C 0.077 H 170.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#0F5A47
RGBrgb(15, 90, 71)
HSLhsl(165, 71%, 21%)
HSVhsv(165, 83%, 35%)
CMYKcmyk(83.3%, 0%, 21.1%, 64.7%)
CIE-LABlab(33.71, -27.03, 4.77)
CIE-LCHlch(33.71, 27.45, 170.00°)
OKLaboklab(41.89% -0.0756 0.0121)
OKLCHoklch(41.89% 0.077 170.9)
XYZxyz(4.9899, 7.8682, 7.2157)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A47 #5A0F22
analogous
#0F5A21 #0F5A47 #0F475A
triadic
#0F5A47 #470F5A #5A470F
tetradic
#0F5A47 #210F5A #5A0F22 #475A0F
square
#0F5A47 #210F5A #5A0F22 #475A0F
split-complementary
#0F5A47 #5A0F47 #5A210F
monochromatic
#041A15 #06261E #0F5A47 #188E70 #20C39A

Accessibility & contrast

On white

8.16
#0F5A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#0F5A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A47
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A47#FFFFFF#000000##FFFFFF
##0F5A471.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575346
Deuteranopia (green-blind)
#4E4C48
Tritanopia (blue-blind)
#005B55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a47;
/* rgb */ color: rgb(15, 90, 71);
/* oklch */ color: oklch(41.9% 0.077 170.9);
Tailwind
colors: {
  custom: {
    50: '#5c897a',
    500: '#0f5a47',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a47;
$custom-light: #5c897a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a47",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 71
  },
  "hsl": {
    "h": 164.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.07654,
    "h": 170.9
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#0F5A47
secondary
#94314A
accent
#3A67EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5A47

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

Preview Lab → · Contrast checker → · Palette generator →

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