#054028#054028

#054028 is a dark, moderate teal. Relative luminance 0.039; OKLCH L 32.9% C 0.071 H 159.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#054028
RGBrgb(5, 64, 40)
HSLhsl(156, 86%, 14%)
HSVhsv(156, 92%, 25%)
CMYKcmyk(92.2%, 0%, 37.5%, 74.9%)
CIE-LABlab(23.18, -24.69, 9.73)
CIE-LCHlch(23.18, 26.54, 158.49°)
OKLaboklab(32.92% -0.0669 0.0246)
OKLCHoklch(32.92% 0.071 159.8)
XYZxyz(2.2787, 3.8520, 2.6305)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054028 #40051D
analogous
#05400A #054028 #053A40
triadic
#054028 #280540 #402805
tetradic
#054028 #0A0540 #40051D #3A4005
square
#054028 #0A0540 #40051D #3A4005
split-complementary
#054028 #40053A #400A05
monochromatic
#021C12 #021C12 #054028 #09794B #0EB26F

Accessibility & contrast

On white

11.86
#054028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054028
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054028#FFFFFF#000000##FFFFFF
##0540281.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054028;
/* rgb */ color: rgb(5, 64, 40);
/* oklch */ color: oklch(32.9% 0.071 159.8);
Tailwind
colors: {
  custom: {
    50: '#517562',
    500: '#054028',
    950: '#000000',
  },
}
SCSS
$custom: #054028;
$custom-light: #517562;
$custom-dark: #000000;
JSON
{
  "hex": "#054028",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 155.593,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32922,
    "c": 0.07132,
    "h": 159.8
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#054028
secondary
#812047
accent
#2C81FC
background
#F4F7F5
surface
#E7EDEA
border
#C3C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #054028

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

Preview Lab → · Contrast checker → · Palette generator →

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