#0F5A4C#0F5A4C

#0F5A4C is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.1% C 0.073 H 176.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#0F5A4C
RGBrgb(15, 90, 76)
HSLhsl(169, 71%, 21%)
HSVhsv(169, 83%, 35%)
CMYKcmyk(83.3%, 0%, 15.6%, 64.7%)
CIE-LABlab(33.85, -25.57, 1.84)
CIE-LCHlch(33.85, 25.64, 175.88°)
OKLaboklab(42.05% -0.0729 0.0045)
OKLCHoklch(42.05% 0.073 176.5)
XYZxyz(5.1570, 7.9351, 8.0959)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A4C #5A0F1D
analogous
#0F5A26 #0F5A4C #0F425A
triadic
#0F5A4C #4C0F5A #5A4C0F
tetradic
#0F5A4C #260F5A #5A0F1D #425A0F
square
#0F5A4C #260F5A #5A0F1D #425A0F
split-complementary
#0F5A4C #5A0F42 #5A260F
monochromatic
#041A16 #062620 #0F5A4C #188E78 #20C3A5

Accessibility & contrast

On white

8.12
#0F5A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A4C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A4C#FFFFFF#000000##FFFFFF
##0F5A4C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5a4c;
/* rgb */ color: rgb(15, 90, 76);
/* oklch */ color: oklch(42.1% 0.073 176.5);
Tailwind
colors: {
  custom: {
    50: '#5c897e',
    500: '#0f5a4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a4c;
$custom-light: #5c897e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a4c",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 76
  },
  "hsl": {
    "h": 168.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.07301,
    "h": 176.5
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#0F5A4C
secondary
#943144
accent
#3A5BEE
background
#F5F8F7
surface
#E9F0EE
border
#C5CBC9
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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