#054228#054228

#054228 is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.6% C 0.074 H 158.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#054228
RGBrgb(5, 66, 40)
HSLhsl(154, 86%, 14%)
HSVhsv(154, 92%, 26%)
CMYKcmyk(92.4%, 0%, 39.4%, 74.1%)
CIE-LABlab(23.94, -25.60, 10.77)
CIE-LCHlch(23.94, 27.77, 157.19°)
OKLaboklab(33.55% -0.0692 0.0271)
OKLCHoklch(33.55% 0.074 158.6)
XYZxyz(2.3936, 4.0816, 2.6687)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054228 #42051F
analogous
#05420A #054228 #053E42
triadic
#054228 #280542 #422805
tetradic
#054228 #0A0542 #42051F #3E4205
square
#054228 #0A0542 #42051F #3E4205
split-complementary
#054228 #42053E #420A05
monochromatic
#021C11 #021C11 #054228 #097B4A #0EB46D

Accessibility & contrast

On white

11.56
#054228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054228
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054228#FFFFFF#000000##FFFFFF
##0542281.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#00423B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #054228;
/* rgb */ color: rgb(5, 66, 40);
/* oklch */ color: oklch(33.6% 0.074 158.6);
Tailwind
colors: {
  custom: {
    50: '#527762',
    500: '#054228',
    950: '#000000',
  },
}
SCSS
$custom: #054228;
$custom-light: #527762;
$custom-dark: #000000;
JSON
{
  "hex": "#054228",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 154.426,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.07436,
    "h": 158.6
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#054228
secondary
#82204A
accent
#2C85FC
background
#F4F7F5
surface
#E8EDEA
border
#C4C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #054228

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

Preview Lab → · Contrast checker → · Palette generator →

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