#0F5D42#0F5D42

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

Color values

HEX#0F5D42
RGBrgb(15, 93, 66)
HSLhsl(159, 72%, 21%)
HSVhsv(159, 84%, 36%)
CMYKcmyk(83.9%, 0%, 29%, 63.5%)
CIE-LABlab(34.65, -29.79, 9.19)
CIE-LCHlch(34.65, 31.18, 162.85°)
OKLaboklab(42.62% -0.0816 0.0234)
OKLCHoklch(42.62% 0.085 164)
XYZxyz(5.0941, 8.3230, 6.4912)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D42 #5D0F2A
analogous
#0F5D1B #0F5D42 #0F515D
triadic
#0F5D42 #420F5D #5D420F
tetradic
#0F5D42 #1B0F5D #5D0F2A #515D0F
square
#0F5D42 #1B0F5D #5D0F2A #515D0F
split-complementary
#0F5D42 #5D0F51 #5D1B0F
monochromatic
#041A13 #06281D #0F5D42 #179267 #20C68D

Accessibility & contrast

On white

7.88
#0F5D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5D42
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D42#FFFFFF#000000##FFFFFF
##0F5D421.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5640
Deuteranopia (green-blind)
#524F44
Tritanopia (blue-blind)
#005D56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5d42;
/* rgb */ color: rgb(15, 93, 66);
/* oklch */ color: oklch(42.6% 0.085 164.0);
Tailwind
colors: {
  custom: {
    50: '#5d8b76',
    500: '#0f5d42',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d42;
$custom-light: #5d8b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d42",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 66
  },
  "hsl": {
    "h": 159.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.08495,
    "h": 164
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#0F5D42
secondary
#963154
accent
#3978EF
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5D42

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

Preview Lab → · Contrast checker → · Palette generator →

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