#0F5A48#0F5A48

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

Color values

HEX#0F5A48
RGBrgb(15, 90, 72)
HSLhsl(166, 71%, 21%)
HSVhsv(166, 83%, 35%)
CMYKcmyk(83.3%, 0%, 20%, 64.7%)
CIE-LABlab(33.73, -26.75, 4.18)
CIE-LCHlch(33.73, 27.07, 171.12°)
OKLaboklab(41.92% -0.075 0.0106)
OKLCHoklch(41.92% 0.076 171.9)
XYZxyz(5.0222, 7.8812, 7.3862)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A48 #5A0F21
analogous
#0F5A22 #0F5A48 #0F465A
triadic
#0F5A48 #480F5A #5A480F
tetradic
#0F5A48 #220F5A #5A0F21 #465A0F
square
#0F5A48 #220F5A #5A0F21 #465A0F
split-complementary
#0F5A48 #5A0F46 #5A220F
monochromatic
#041A15 #06261E #0F5A48 #188E72 #20C39C

Accessibility & contrast

On white

8.15
#0F5A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#0F5A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A48
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A48#FFFFFF#000000##FFFFFF
##0F5A481.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5a48;
/* rgb */ color: rgb(15, 90, 72);
/* oklch */ color: oklch(41.9% 0.076 171.9);
Tailwind
colors: {
  custom: {
    50: '#5c897b',
    500: '#0f5a48',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a48;
$custom-light: #5c897b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a48",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 72
  },
  "hsl": {
    "h": 165.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.07578,
    "h": 171.9
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#0F5A48
secondary
#943149
accent
#3A65EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5A48

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

Preview Lab → · Contrast checker → · Palette generator →

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