#0D402F#0D402F

#0D402F is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.3% C 0.061 H 166.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#0D402F
RGBrgb(13, 64, 47)
HSLhsl(160, 66%, 15%)
HSVhsv(160, 80%, 25%)
CMYKcmyk(79.7%, 0%, 26.6%, 74.9%)
CIE-LABlab(23.53, -21.45, 5.67)
CIE-LCHlch(23.53, 22.19, 165.19°)
OKLaboklab(33.32% -0.0593 0.0145)
OKLCHoklch(33.32% 0.061 166.3)
XYZxyz(2.5122, 3.9573, 3.3202)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D402F #400D1E
analogous
#0D4015 #0D402F #0D3740
triadic
#0D402F #2F0D40 #402F0D
tetradic
#0D402F #150D40 #400D1E #37400D
square
#0D402F #150D40 #400D1E #37400D
split-complementary
#0D402F #400D37 #40150D
monochromatic
#051913 #051913 #0D402F #177354 #22A67A

Accessibility & contrast

On white

11.72
#0D402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D402F
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D402F#FFFFFF#000000##FFFFFF
##0D402F1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d402f;
/* rgb */ color: rgb(13, 64, 47);
/* oklch */ color: oklch(33.3% 0.061 166.3);
Tailwind
colors: {
  custom: {
    50: '#547567',
    500: '#0d402f',
    950: '#000000',
  },
}
SCSS
$custom: #0d402f;
$custom-light: #547567;
$custom-dark: #000000;
JSON
{
  "hex": "#0d402f",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 160,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.06105,
    "h": 166.3
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#0D402F
secondary
#7C2D47
accent
#3F77E9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0D402F

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

Preview Lab → · Contrast checker → · Palette generator →

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