#0D402D#0D402D

#0D402D is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.3% C 0.063 H 163.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#0D402D
RGBrgb(13, 64, 45)
HSLhsl(158, 66%, 15%)
HSVhsv(158, 80%, 25%)
CMYKcmyk(79.7%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.48, -22.00, 6.91)
CIE-LCHlch(23.48, 23.06, 162.56°)
OKLaboklab(33.26% -0.0604 0.0176)
OKLCHoklch(33.26% 0.063 163.7)
XYZxyz(2.4728, 3.9415, 3.1126)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D402D #400D20
analogous
#0D4013 #0D402D #0D3940
triadic
#0D402D #2D0D40 #402D0D
tetradic
#0D402D #130D40 #400D20 #39400D
square
#0D402D #130D40 #400D20 #39400D
split-complementary
#0D402D #400D39 #40130D
monochromatic
#051912 #051912 #0D402D #177351 #22A675

Accessibility & contrast

On white

11.74
#0D402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0D402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D402D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D402D#FFFFFF#000000##FFFFFF
##0D402D1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2C
Deuteranopia (green-blind)
#38362E
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d402d;
/* rgb */ color: rgb(13, 64, 45);
/* oklch */ color: oklch(33.3% 0.063 163.7);
Tailwind
colors: {
  custom: {
    50: '#547565',
    500: '#0d402d',
    950: '#000000',
  },
}
SCSS
$custom: #0d402d;
$custom-light: #547565;
$custom-dark: #000000;
JSON
{
  "hex": "#0d402d",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 157.647,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33262,
    "c": 0.06297,
    "h": 163.7
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#0D402D
secondary
#7C2D4A
accent
#3F7EE9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0D402D

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

Preview Lab → · Contrast checker → · Palette generator →

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