#0D5239#0D5239

#0D5239 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.1% C 0.078 H 163.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#0D5239
RGBrgb(13, 82, 57)
HSLhsl(158, 73%, 19%)
HSVhsv(158, 84%, 32%)
CMYKcmyk(84.1%, 0%, 30.5%, 67.8%)
CIE-LABlab(30.44, -27.39, 8.92)
CIE-LCHlch(30.44, 28.80, 161.97°)
OKLaboklab(39.08% -0.0749 0.0227)
OKLCHoklch(39.08% 0.078 163.1)
XYZxyz(3.9214, 6.4151, 4.9017)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5239 #520D26
analogous
#0D5216 #0D5239 #0D4852
triadic
#0D5239 #390D52 #52390D
tetradic
#0D5239 #160D52 #520D26 #48520D
square
#0D5239 #160D52 #520D26 #48520D
split-complementary
#0D5239 #520D48 #52160D
monochromatic
#041A12 #051D14 #0D5239 #15875E #1EBC82

Accessibility & contrast

On white

9.20
#0D5239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0D5239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5239
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5239#FFFFFF#000000##FFFFFF
##0D52391.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B38
Deuteranopia (green-blind)
#48453B
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0d5239;
/* rgb */ color: rgb(13, 82, 57);
/* oklch */ color: oklch(39.1% 0.078 163.1);
Tailwind
colors: {
  custom: {
    50: '#59836f',
    500: '#0d5239',
    950: '#000000',
  },
}
SCSS
$custom: #0d5239;
$custom-light: #59836f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5239",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 158.261,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39077,
    "c": 0.07829,
    "h": 163.1
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#0D5239
secondary
#8D2E50
accent
#387BEF
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0D5239

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

Preview Lab → · Contrast checker → · Palette generator →

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