#0D5942#0D5942

#0D5942 is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.4% C 0.080 H 166.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#0D5942
RGBrgb(13, 89, 66)
HSLhsl(162, 75%, 20%)
HSVhsv(162, 85%, 35%)
CMYKcmyk(85.4%, 0%, 25.8%, 65.1%)
CIE-LABlab(33.19, -28.21, 7.14)
CIE-LCHlch(33.19, 29.10, 165.80°)
OKLaboklab(41.41% -0.0779 0.0182)
OKLCHoklch(41.41% 0.08 166.8)
XYZxyz(4.7212, 7.6231, 6.3758)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5942 #590D24
analogous
#0D591C #0D5942 #0D4A59
triadic
#0D5942 #420D59 #59420D
tetradic
#0D5942 #1C0D59 #590D24 #4A590D
square
#0D5942 #1C0D59 #590D24 #4A590D
split-complementary
#0D5942 #590D4A #591C0D
monochromatic
#041B14 #05241A #0D5942 #158E6A #1DC491

Accessibility & contrast

On white

8.32
#0D5942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#0D5942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5942
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5942#FFFFFF#000000##FFFFFF
##0D59421.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575241
Deuteranopia (green-blind)
#4D4B44
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0d5942;
/* rgb */ color: rgb(13, 89, 66);
/* oklch */ color: oklch(41.4% 0.080 166.8);
Tailwind
colors: {
  custom: {
    50: '#5b8876',
    500: '#0d5942',
    950: '#000000',
  },
}
SCSS
$custom: #0d5942;
$custom-light: #5b8876;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5942",
  "rgb": {
    "r": 13,
    "g": 89,
    "b": 66
  },
  "hsl": {
    "h": 161.842,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.41411,
    "c": 0.07998,
    "h": 166.8
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#0D5942
secondary
#932E4D
accent
#376FF1
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0D5942

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

Preview Lab → · Contrast checker → · Palette generator →

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