#0F5D40#0F5D40

#0F5D40 is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.6% C 0.087 H 162.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#0F5D40
RGBrgb(15, 93, 64)
HSLhsl(158, 72%, 21%)
HSVhsv(158, 84%, 36%)
CMYKcmyk(83.9%, 0%, 31.2%, 63.5%)
CIE-LABlab(34.60, -30.30, 10.35)
CIE-LCHlch(34.60, 32.02, 161.14°)
OKLaboklab(42.57% -0.0827 0.0263)
OKLCHoklch(42.57% 0.087 162.3)
XYZxyz(5.0362, 8.2998, 6.1861)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D40 #5D0F2C
analogous
#0F5D19 #0F5D40 #0F535D
triadic
#0F5D40 #400F5D #5D400F
tetradic
#0F5D40 #190F5D #5D0F2C #535D0F
square
#0F5D40 #190F5D #5D0F2C #535D0F
split-complementary
#0F5D40 #5D0F53 #5D190F
monochromatic
#041A12 #06281C #0F5D40 #179264 #20C689

Accessibility & contrast

On white

7.89
#0F5D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#0F5D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D40
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D40#FFFFFF#000000##FFFFFF
##0F5D401.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553E
Deuteranopia (green-blind)
#524F42
Tritanopia (blue-blind)
#005D55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5d40;
/* rgb */ color: rgb(15, 93, 64);
/* oklch */ color: oklch(42.6% 0.087 162.3);
Tailwind
colors: {
  custom: {
    50: '#5d8b75',
    500: '#0f5d40',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d40;
$custom-light: #5d8b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d40",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 64
  },
  "hsl": {
    "h": 157.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.08682,
    "h": 162.3
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#0F5D40
secondary
#963157
accent
#397DEF
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5D40

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

Preview Lab → · Contrast checker → · Palette generator →

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