#0F5A4D#0F5A4D

#0F5A4D is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.1% C 0.072 H 177.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#0F5A4D
RGBrgb(15, 90, 77)
HSLhsl(170, 71%, 21%)
HSVhsv(170, 83%, 35%)
CMYKcmyk(83.3%, 0%, 14.4%, 64.7%)
CIE-LABlab(33.88, -25.27, 1.26)
CIE-LCHlch(33.88, 25.30, 177.15°)
OKLaboklab(42.09% -0.0723 0.0029)
OKLCHoklch(42.09% 0.072 177.7)
XYZxyz(5.1920, 7.9491, 8.2804)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A4D #5A0F1C
analogous
#0F5A27 #0F5A4D #0F415A
triadic
#0F5A4D #4D0F5A #5A4D0F
tetradic
#0F5A4D #270F5A #5A0F1C #415A0F
square
#0F5A4D #270F5A #5A0F1C #415A0F
split-complementary
#0F5A4D #5A0F41 #5A270F
monochromatic
#041A16 #062620 #0F5A4D #188E7A #20C3A7

Accessibility & contrast

On white

8.11
#0F5A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#0F5A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A4D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A4D#FFFFFF#000000##FFFFFF
##0F5A4D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544C
Deuteranopia (green-blind)
#4C4D4E
Tritanopia (blue-blind)
#005B56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5a4d;
/* rgb */ color: rgb(15, 90, 77);
/* oklch */ color: oklch(42.1% 0.072 177.7);
Tailwind
colors: {
  custom: {
    50: '#5d897e',
    500: '#0f5a4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a4d;
$custom-light: #5d897e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a4d",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 77
  },
  "hsl": {
    "h": 169.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42087,
    "c": 0.0724,
    "h": 177.7
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#0F5A4D
secondary
#943142
accent
#3A59EE
background
#F5F8F7
surface
#E9F0EE
border
#C5CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #0F5A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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