#0D5837#0D5837

#0D5837 is a dark, moderate teal. Relative luminance 0.073; OKLCH L 40.8% C 0.089 H 158.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#0D5837
RGBrgb(13, 88, 55)
HSLhsl(154, 74%, 20%)
HSVhsv(154, 85%, 35%)
CMYKcmyk(85.2%, 0%, 37.5%, 65.5%)
CIE-LABlab(32.57, -30.57, 13.08)
CIE-LCHlch(32.57, 33.25, 156.84°)
OKLaboklab(40.82% -0.0828 0.033)
OKLCHoklch(40.82% 0.089 158.3)
XYZxyz(4.3448, 7.3403, 4.8015)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5837 #580D2E
analogous
#0D5812 #0D5837 #0D5458
triadic
#0D5837 #370D58 #58370D
tetradic
#0D5837 #120D58 #580D2E #54580D
square
#0D5837 #120D58 #580D2E #54580D
split-complementary
#0D5837 #580D54 #58120D
monochromatic
#041B11 #052316 #0D5837 #158D58 #1DC37A

Accessibility & contrast

On white

8.51
#0D5837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#0D5837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5837
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5837#FFFFFF#000000##FFFFFF
##0D58371.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575035
Deuteranopia (green-blind)
#4E4A39
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0d5837;
/* rgb */ color: rgb(13, 88, 55);
/* oklch */ color: oklch(40.8% 0.089 158.3);
Tailwind
colors: {
  custom: {
    50: '#5b886e',
    500: '#0d5837',
    950: '#000000',
  },
}
SCSS
$custom: #0d5837;
$custom-light: #5b886e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5837",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 55
  },
  "hsl": {
    "h": 153.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.08908,
    "h": 158.3
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#0D5837
secondary
#932E5A
accent
#3789F1
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0D5837

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

Preview Lab → · Contrast checker → · Palette generator →

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