#0F5740#0F5740

#0F5740 is a dark, moderate teal. Relative luminance 0.073; OKLCH L 40.8% C 0.078 H 166.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#0F5740
RGBrgb(15, 87, 64)
HSLhsl(161, 71%, 20%)
HSVhsv(161, 83%, 34%)
CMYKcmyk(82.8%, 0%, 26.4%, 65.9%)
CIE-LABlab(32.45, -27.56, 7.36)
CIE-LCHlch(32.45, 28.53, 165.05°)
OKLaboklab(40.8% -0.076 0.0188)
OKLCHoklch(40.8% 0.078 166.1)
XYZxyz(4.5301, 7.2876, 6.0174)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5740 #570F26
analogous
#0F571C #0F5740 #0F4A57
triadic
#0F5740 #400F57 #57400F
tetradic
#0F5740 #1C0F57 #570F26 #4A570F
square
#0F5740 #1C0F57 #570F26 #4A570F
split-complementary
#0F5740 #570F4A #571C0F
monochromatic
#051A13 #06231A #0F5740 #188B66 #21BF8D

Accessibility & contrast

On white

8.54
#0F5740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#0F5740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5740
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5740#FFFFFF#000000##FFFFFF
##0F57401.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503F
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5740;
/* rgb */ color: rgb(15, 87, 64);
/* oklch */ color: oklch(40.8% 0.078 166.1);
Tailwind
colors: {
  custom: {
    50: '#5b8774',
    500: '#0f5740',
    950: '#000000',
  },
}
SCSS
$custom: #0f5740;
$custom-light: #5b8774;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5740",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 64
  },
  "hsl": {
    "h": 160.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.0783,
    "h": 166.1
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#0F5740
secondary
#913150
accent
#3A74ED
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5740

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

Preview Lab → · Contrast checker → · Palette generator →

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