#054227#054227

#054227 is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.5% C 0.075 H 157.7°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#054227
RGBrgb(5, 66, 39)
HSLhsl(153, 86%, 14%)
HSVhsv(153, 92%, 26%)
CMYKcmyk(92.4%, 0%, 40.9%, 74.1%)
CIE-LABlab(23.92, -25.84, 11.38)
CIE-LCHlch(23.92, 28.24, 156.24°)
OKLaboklab(33.53% -0.0698 0.0286)
OKLCHoklch(33.53% 0.075 157.7)
XYZxyz(2.3768, 4.0749, 2.5803)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054227 #420520
analogous
#054209 #054227 #053F42
triadic
#054227 #270542 #422705
tetradic
#054227 #090542 #420520 #3F4205
square
#054227 #090542 #420520 #3F4205
split-complementary
#054227 #42053F #420905
monochromatic
#021C11 #021C11 #054227 #097B49 #0EB46A

Accessibility & contrast

On white

11.57
#054227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#054227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054227
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054227#FFFFFF#000000##FFFFFF
##0542271.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C25
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #054227;
/* rgb */ color: rgb(5, 66, 39);
/* oklch */ color: oklch(33.5% 0.075 157.7);
Tailwind
colors: {
  custom: {
    50: '#527761',
    500: '#054227',
    950: '#000000',
  },
}
SCSS
$custom: #054227;
$custom-light: #527761;
$custom-dark: #000000;
JSON
{
  "hex": "#054227",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 153.443,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33526,
    "c": 0.07543,
    "h": 157.7
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#054227
secondary
#82204C
accent
#2C88FC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030905
muted
#787B79

Preview Lab

Preview with #054227

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

Preview Lab → · Contrast checker → · Palette generator →

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