#054027#054027

#054027 is a dark, moderate teal. Relative luminance 0.038; OKLCH L 32.9% C 0.072 H 158.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#054027
RGBrgb(5, 64, 39)
HSLhsl(155, 86%, 14%)
HSVhsv(155, 92%, 25%)
CMYKcmyk(92.2%, 0%, 39.1%, 74.9%)
CIE-LABlab(23.15, -24.94, 10.34)
CIE-LCHlch(23.15, 27.00, 157.48°)
OKLaboklab(32.9% -0.0675 0.0261)
OKLCHoklch(32.9% 0.072 158.9)
XYZxyz(2.2620, 3.8453, 2.5421)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054027 #40051E
analogous
#054009 #054027 #053B40
triadic
#054027 #270540 #402705
tetradic
#054027 #090540 #40051E #3B4005
square
#054027 #090540 #40051E #3B4005
split-complementary
#054027 #40053B #400905
monochromatic
#021C11 #021C11 #054027 #09794A #0EB26C

Accessibility & contrast

On white

11.87
#054027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#054027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054027
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054027#FFFFFF#000000##FFFFFF
##0540271.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A25
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054027;
/* rgb */ color: rgb(5, 64, 39);
/* oklch */ color: oklch(32.9% 0.072 158.9);
Tailwind
colors: {
  custom: {
    50: '#517561',
    500: '#054027',
    950: '#000000',
  },
}
SCSS
$custom: #054027;
$custom-light: #517561;
$custom-dark: #000000;
JSON
{
  "hex": "#054027",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 39
  },
  "hsl": {
    "h": 154.576,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.07238,
    "h": 158.9
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#054027
secondary
#812049
accent
#2C84FC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #054027

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

Preview Lab → · Contrast checker → · Palette generator →

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