#0F5B40#0F5B40

#0F5B40 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.0% C 0.084 H 163.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#0F5B40
RGBrgb(15, 91, 64)
HSLhsl(159, 72%, 21%)
HSVhsv(159, 84%, 36%)
CMYKcmyk(83.5%, 0%, 29.7%, 64.3%)
CIE-LABlab(33.89, -29.40, 9.36)
CIE-LCHlch(33.89, 30.86, 162.34°)
OKLaboklab(41.98% -0.0805 0.0239)
OKLCHoklch(41.98% 0.084 163.5)
XYZxyz(4.8630, 7.9533, 6.1283)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B40 #5B0F2A
analogous
#0F5B1A #0F5B40 #0F505B
triadic
#0F5B40 #400F5B #5B400F
tetradic
#0F5B40 #1A0F5B #5B0F2A #505B0F
square
#0F5B40 #1A0F5B #5B0F2A #505B0F
split-complementary
#0F5B40 #5B0F50 #5B1A0F
monochromatic
#041A12 #06261B #0F5B40 #189065 #20C48A

Accessibility & contrast

On white

8.11
#0F5B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5B40
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B40#FFFFFF#000000##FFFFFF
##0F5B401.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59543E
Deuteranopia (green-blind)
#504D42
Tritanopia (blue-blind)
#005B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5b40;
/* rgb */ color: rgb(15, 91, 64);
/* oklch */ color: oklch(42.0% 0.084 163.5);
Tailwind
colors: {
  custom: {
    50: '#5c8a74',
    500: '#0f5b40',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b40;
$custom-light: #5c8a74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b40",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 64
  },
  "hsl": {
    "h": 158.684,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4198,
    "c": 0.08397,
    "h": 163.5
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#0F5B40
secondary
#953155
accent
#397AEE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5B40

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

Preview Lab → · Contrast checker → · Palette generator →

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