#0D4938#0D4938

#0D4938 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.3% C 0.066 H 169.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#0D4938
RGBrgb(13, 73, 56)
HSLhsl(163, 70%, 17%)
HSVhsv(163, 82%, 29%)
CMYKcmyk(82.2%, 0%, 23.3%, 71.4%)
CIE-LABlab(27.12, -23.37, 4.89)
CIE-LCHlch(27.12, 23.87, 168.19°)
OKLaboklab(36.34% -0.065 0.0125)
OKLCHoklch(36.34% 0.066 169.1)
XYZxyz(3.2619, 5.1358, 4.5600)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4938 #490D1E
analogous
#0D491A #0D4938 #0D3C49
triadic
#0D4938 #380D49 #49380D
tetradic
#0D4938 #1A0D49 #490D1E #3C490D
square
#0D4938 #1A0D49 #490D1E #3C490D
split-complementary
#0D4938 #490D3C #491A0D
monochromatic
#051A14 #051A14 #0D4938 #167D60 #20B188

Accessibility & contrast

On white

10.36
#0D4938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0D4938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4938
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4938#FFFFFF#000000##FFFFFF
##0D49381.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474337
Deuteranopia (green-blind)
#3F3E39
Tritanopia (blue-blind)
#004944
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0d4938;
/* rgb */ color: rgb(13, 73, 56);
/* oklch */ color: oklch(36.3% 0.066 169.1);
Tailwind
colors: {
  custom: {
    50: '#577c6e',
    500: '#0d4938',
    950: '#000000',
  },
}
SCSS
$custom: #0d4938;
$custom-light: #577c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4938",
  "rgb": {
    "r": 13,
    "g": 73,
    "b": 56
  },
  "hsl": {
    "h": 163,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36344,
    "c": 0.06624,
    "h": 169.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#0D4938
secondary
#842D46
accent
#3B6DED
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0D4938

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

Preview Lab → · Contrast checker → · Palette generator →

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