#0F5A51#0F5A51

#0F5A51 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.2% C 0.070 H 182.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#0F5A51
RGBrgb(15, 90, 81)
HSLhsl(173, 71%, 21%)
HSVhsv(173, 83%, 35%)
CMYKcmyk(83.3%, 0%, 10%, 64.7%)
CIE-LABlab(34.00, -24.04, -1.07)
CIE-LCHlch(34.00, 24.06, 182.55°)
OKLaboklab(42.23% -0.0702 -0.0033)
OKLCHoklch(42.23% 0.07 182.7)
XYZxyz(5.3376, 8.0073, 9.0472)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A51 #5A0F18
analogous
#0F5A2B #0F5A51 #0F3D5A
triadic
#0F5A51 #510F5A #5A510F
tetradic
#0F5A51 #2B0F5A #5A0F18 #3D5A0F
square
#0F5A51 #2B0F5A #5A0F18 #3D5A0F
split-complementary
#0F5A51 #5A0F3D #5A2B0F
monochromatic
#041A18 #062622 #0F5A51 #188E80 #20C3AF

Accessibility & contrast

On white

8.07
#0F5A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#0F5A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A51
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A51#FFFFFF#000000##FFFFFF
##0F5A511.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555451
Deuteranopia (green-blind)
#4B4D52
Tritanopia (blue-blind)
#005C57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5a51;
/* rgb */ color: rgb(15, 90, 81);
/* oklch */ color: oklch(42.2% 0.070 182.7);
Tailwind
colors: {
  custom: {
    50: '#5d8981',
    500: '#0f5a51',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a51;
$custom-light: #5d8981;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a51",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 81
  },
  "hsl": {
    "h": 172.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42227,
    "c": 0.07029,
    "h": 182.7
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#0F5A51
secondary
#94313D
accent
#3A4FEE
background
#F5F8F7
surface
#E9F0EE
border
#C5CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #0F5A51

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

Preview Lab → · Contrast checker → · Palette generator →

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