#0D5F42#0D5F42

#0D5F42 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.2% C 0.088 H 163.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#0D5F42
RGBrgb(13, 95, 66)
HSLhsl(159, 76%, 21%)
HSVhsv(159, 86%, 37%)
CMYKcmyk(86.3%, 0%, 30.5%, 62.7%)
CIE-LABlab(35.33, -30.93, 10.13)
CIE-LCHlch(35.33, 32.54, 161.86°)
OKLaboklab(43.17% -0.0845 0.0258)
OKLCHoklch(43.17% 0.088 163)
XYZxyz(5.2410, 8.6627, 6.5490)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5F42 #5F0D2A
analogous
#0D5F19 #0D5F42 #0D535F
triadic
#0D5F42 #420D5F #5F420D
tetradic
#0D5F42 #190D5F #5F0D2A #535F0D
square
#0D5F42 #190D5F #5F0D2A #535F0D
split-complementary
#0D5F42 #5F0D53 #5F190D
monochromatic
#041B13 #06291D #0D5F42 #149567 #1CCB8D

Accessibility & contrast

On white

7.68
#0D5F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#0D5F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5F42
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5F42#FFFFFF#000000##FFFFFF
##0D5F421.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5740
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0d5f42;
/* rgb */ color: rgb(13, 95, 66);
/* oklch */ color: oklch(43.2% 0.088 163.0);
Tailwind
colors: {
  custom: {
    50: '#5d8d76',
    500: '#0d5f42',
    950: '#000000',
  },
}
SCSS
$custom: #0d5f42;
$custom-light: #5d8d76;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5f42",
  "rgb": {
    "r": 13,
    "g": 95,
    "b": 66
  },
  "hsl": {
    "h": 158.78,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43172,
    "c": 0.08835,
    "h": 163
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#0D5F42
secondary
#992F54
accent
#3578F3
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0D5F42

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

Preview Lab → · Contrast checker → · Palette generator →

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