#0D4F2F#0D4F2F

#0D4F2F is a dark, moderate teal. Relative luminance 0.059; OKLCH L 37.9% C 0.084 H 156.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#0D4F2F
RGBrgb(13, 79, 47)
HSLhsl(151, 72%, 18%)
HSVhsv(151, 84%, 31%)
CMYKcmyk(83.5%, 0%, 40.5%, 69%)
CIE-LABlab(29.11, -28.51, 13.35)
CIE-LCHlch(29.11, 31.48, 154.91°)
OKLaboklab(37.91% -0.077 0.0335)
OKLCHoklch(37.91% 0.084 156.5)
XYZxyz(3.4747, 5.8824, 3.6411)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F2F #4F0D2D
analogous
#0D4F0E #0D4F2F #0D4E4F
triadic
#0D4F2F #2F0D4F #4F2F0D
tetradic
#0D4F2F #0E0D4F #4F0D2D #4E4F0D
square
#0D4F2F #0E0D4F #4F0D2D #4E4F0D
split-complementary
#0D4F2F #4F0D4E #4F0E0D
monochromatic
#041A10 #041A10 #0D4F2F #16844E #1EB86E

Accessibility & contrast

On white

9.65
#0D4F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0D4F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F2F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F2F#FFFFFF#000000##FFFFFF
##0D4F2F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482D
Deuteranopia (green-blind)
#474231
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d4f2f;
/* rgb */ color: rgb(13, 79, 47);
/* oklch */ color: oklch(37.9% 0.084 156.5);
Tailwind
colors: {
  custom: {
    50: '#588167',
    500: '#0d4f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f2f;
$custom-light: #588167;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f2f",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 150.909,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37914,
    "c": 0.08398,
    "h": 156.5
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#0D4F2F
secondary
#8A2E5B
accent
#3991EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0D4F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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