#054628#054628

#054628 is a dark, moderate teal. Relative luminance 0.046; OKLCH L 34.8% C 0.080 H 156.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#054628
RGBrgb(5, 70, 40)
HSLhsl(152, 87%, 15%)
HSVhsv(152, 93%, 27%)
CMYKcmyk(92.9%, 0%, 42.9%, 72.5%)
CIE-LABlab(25.46, -27.37, 12.81)
CIE-LCHlch(25.46, 30.21, 154.92°)
OKLaboklab(34.81% -0.0738 0.032)
OKLCHoklch(34.81% 0.08 156.5)
XYZxyz(2.6355, 4.5654, 2.7494)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054628 #460523
analogous
#054608 #054628 #054446
triadic
#054628 #280546 #462805
tetradic
#054628 #080546 #460523 #444605
square
#054628 #080546 #460523 #444605
split-complementary
#054628 #460544 #460805
monochromatic
#021D10 #021D10 #054628 #097F49 #0DB869

Accessibility & contrast

On white

10.98
#054628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#054628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054628
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054628#FFFFFF#000000##FFFFFF
##0546281.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F26
Deuteranopia (green-blind)
#3E3A2A
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #054628;
/* rgb */ color: rgb(5, 70, 40);
/* oklch */ color: oklch(34.8% 0.080 156.5);
Tailwind
colors: {
  custom: {
    50: '#537a62',
    500: '#054628',
    950: '#000000',
  },
}
SCSS
$custom: #054628;
$custom-light: #537a62;
$custom-dark: #000000;
JSON
{
  "hex": "#054628",
  "rgb": {
    "r": 5,
    "g": 70,
    "b": 40
  },
  "hsl": {
    "h": 152.308,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34807,
    "c": 0.08041,
    "h": 156.5
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#054628
secondary
#862150
accent
#2B8CFD
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #054628

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

Preview Lab → · Contrast checker → · Palette generator →

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