#054128#054128

#054128 is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.2% C 0.073 H 159.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#054128
RGBrgb(5, 65, 40)
HSLhsl(155, 86%, 14%)
HSVhsv(155, 92%, 25%)
CMYKcmyk(92.3%, 0%, 38.5%, 74.5%)
CIE-LABlab(23.56, -25.14, 10.25)
CIE-LCHlch(23.56, 27.15, 157.83°)
OKLaboklab(33.24% -0.0681 0.0259)
OKLCHoklch(33.24% 0.073 159.2)
XYZxyz(2.3356, 3.9658, 2.6494)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054128 #41051E
analogous
#05410A #054128 #053C41
triadic
#054128 #280541 #412805
tetradic
#054128 #0A0541 #41051E #3C4105
square
#054128 #0A0541 #41051E #3C4105
split-complementary
#054128 #41053C #410A05
monochromatic
#021C11 #021C11 #054128 #097A4B #0EB36E

Accessibility & contrast

On white

11.71
#054128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#054128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054128
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054128#FFFFFF#000000##FFFFFF
##0541281.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054128;
/* rgb */ color: rgb(5, 65, 40);
/* oklch */ color: oklch(33.2% 0.073 159.2);
Tailwind
colors: {
  custom: {
    50: '#527662',
    500: '#054128',
    950: '#000000',
  },
}
SCSS
$custom: #054128;
$custom-light: #527662;
$custom-dark: #000000;
JSON
{
  "hex": "#054128",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 40
  },
  "hsl": {
    "h": 155,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33237,
    "c": 0.07284,
    "h": 159.2
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#054128
secondary
#812049
accent
#2C83FC
background
#F4F7F5
surface
#E7EDEA
border
#C3C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #054128

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

Preview Lab → · Contrast checker → · Palette generator →

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