#05371F#05371F

#05371F is a dark, moderate teal. Relative luminance 0.029; OKLCH L 29.8% C 0.067 H 156.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#05371F
RGBrgb(5, 55, 31)
HSLhsl(151, 83%, 12%)
HSVhsv(151, 91%, 22%)
CMYKcmyk(90.9%, 0%, 43.6%, 78.4%)
CIE-LABlab(19.49, -22.83, 10.61)
CIE-LCHlch(19.49, 25.18, 155.06°)
OKLaboklab(29.81% -0.0616 0.0266)
OKLCHoklch(29.81% 0.067 156.7)
XYZxyz(1.6759, 2.8634, 1.7604)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05371F #37051D
analogous
#053706 #05371F #053637
triadic
#05371F #1F0537 #371F05
tetradic
#05371F #060537 #37051D #363705
square
#05371F #060537 #37051D #363705
split-complementary
#05371F #370536 #370605
monochromatic
#031C10 #031C10 #05371F #0A6F3F #0FA75E

Accessibility & contrast

On white

13.35
#05371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#05371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05371F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05371F#FFFFFF#000000##FFFFFF
##05371F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#312D21
Tritanopia (blue-blind)
#003631
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #05371f;
/* rgb */ color: rgb(5, 55, 31);
/* oklch */ color: oklch(29.8% 0.067 156.7);
Tailwind
colors: {
  custom: {
    50: '#4f6e5a',
    500: '#05371f',
    950: '#000000',
  },
}
SCSS
$custom: #05371f;
$custom-light: #4f6e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05371f",
  "rgb": {
    "r": 5,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 151.2,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29812,
    "c": 0.06711,
    "h": 156.7
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#05371F
secondary
#78204A
accent
#2E90FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #05371F

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

Preview Lab → · Contrast checker → · Palette generator →

#05371F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva