#0F5A46#0F5A46

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

Color values

HEX#0F5A46
RGBrgb(15, 90, 70)
HSLhsl(164, 71%, 21%)
HSVhsv(164, 83%, 35%)
CMYKcmyk(83.3%, 0%, 22.2%, 64.7%)
CIE-LABlab(33.68, -27.32, 5.35)
CIE-LCHlch(33.68, 27.84, 168.91°)
OKLaboklab(41.86% -0.0761 0.0137)
OKLCHoklch(41.86% 0.077 169.8)
XYZxyz(4.9581, 7.8555, 7.0481)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A46 #5A0F23
analogous
#0F5A20 #0F5A46 #0F485A
triadic
#0F5A46 #460F5A #5A460F
tetradic
#0F5A46 #200F5A #5A0F23 #485A0F
square
#0F5A46 #200F5A #5A0F23 #485A0F
split-complementary
#0F5A46 #5A0F48 #5A200F
monochromatic
#041A14 #06261D #0F5A46 #188E6F #20C398

Accessibility & contrast

On white

8.17
#0F5A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A46
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A46#FFFFFF#000000##FFFFFF
##0F5A461.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575345
Deuteranopia (green-blind)
#4E4C47
Tritanopia (blue-blind)
#005B54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a46;
/* rgb */ color: rgb(15, 90, 70);
/* oklch */ color: oklch(41.9% 0.077 169.8);
Tailwind
colors: {
  custom: {
    50: '#5c8979',
    500: '#0f5a46',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a46;
$custom-light: #5c8979;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a46",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 70
  },
  "hsl": {
    "h": 164,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.07734,
    "h": 169.8
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#0F5A46
secondary
#94314B
accent
#3A6AEE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5A46

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

Preview Lab → · Contrast checker → · Palette generator →

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