#054127#054127

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

Color values

HEX#054127
RGBrgb(5, 65, 39)
HSLhsl(154, 86%, 14%)
HSVhsv(154, 92%, 25%)
CMYKcmyk(92.3%, 0%, 40%, 74.5%)
CIE-LABlab(23.54, -25.40, 10.86)
CIE-LCHlch(23.54, 27.62, 156.85°)
OKLaboklab(33.21% -0.0687 0.0273)
OKLCHoklch(33.21% 0.074 158.3)
XYZxyz(2.3188, 3.9590, 2.5610)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054127 #41051F
analogous
#054109 #054127 #053D41
triadic
#054127 #270541 #412705
tetradic
#054127 #090541 #41051F #3D4105
square
#054127 #090541 #41051F #3D4105
split-complementary
#054127 #41053D #410905
monochromatic
#021C11 #021C11 #054127 #097A49 #0EB36B

Accessibility & contrast

On white

11.72
#054127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054127
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054127#FFFFFF#000000##FFFFFF
##0541271.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054127;
/* rgb */ color: rgb(5, 65, 39);
/* oklch */ color: oklch(33.2% 0.074 158.3);
Tailwind
colors: {
  custom: {
    50: '#527661',
    500: '#054127',
    950: '#000000',
  },
}
SCSS
$custom: #054127;
$custom-light: #527661;
$custom-dark: #000000;
JSON
{
  "hex": "#054127",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 39
  },
  "hsl": {
    "h": 154,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33211,
    "c": 0.07391,
    "h": 158.3
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#054127
secondary
#81204A
accent
#2C86FC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #054127

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

Preview Lab → · Contrast checker → · Palette generator →

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