#054037#054037

#054037 is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.4% C 0.058 H 179.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#054037
RGBrgb(5, 64, 55)
HSLhsl(171, 86%, 14%)
HSVhsv(171, 92%, 25%)
CMYKcmyk(92.2%, 0%, 14.1%, 74.9%)
CIE-LABlab(23.59, -20.27, 0.44)
CIE-LCHlch(23.59, 20.27, 178.76°)
OKLaboklab(33.4% -0.0583 0.0008)
OKLCHoklch(33.4% 0.058 179.2)
XYZxyz(2.5852, 3.9746, 4.2446)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054037 #40050E
analogous
#054019 #054037 #052B40
triadic
#054037 #370540 #403705
tetradic
#054037 #190540 #40050E #2B4005
square
#054037 #190540 #40050E #2B4005
split-complementary
#054037 #40052B #401905
monochromatic
#021C18 #021C18 #054037 #097968 #0EB299

Accessibility & contrast

On white

11.70
#054037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#054037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054037
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054037#FFFFFF#000000##FFFFFF
##0540371.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B37
Deuteranopia (green-blind)
#353638
Tritanopia (blue-blind)
#00413D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054037;
/* rgb */ color: rgb(5, 64, 55);
/* oklch */ color: oklch(33.4% 0.058 179.2);
Tailwind
colors: {
  custom: {
    50: '#52756d',
    500: '#054037',
    950: '#000000',
  },
}
SCSS
$custom: #054037;
$custom-light: #52756d;
$custom-dark: #000000;
JSON
{
  "hex": "#054037",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 55
  },
  "hsl": {
    "h": 170.847,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33396,
    "c": 0.05831,
    "h": 179.2
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#054037
secondary
#81202F
accent
#2C4CFC
background
#F5F7F6
surface
#E8EDEB
border
#C4C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #054037

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

Preview Lab → · Contrast checker → · Palette generator →

#054037 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva