#054024#054024

#054024 is a dark, moderate teal. Relative luminance 0.038; OKLCH L 32.8% C 0.076 H 156.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#054024
RGBrgb(5, 64, 36)
HSLhsl(152, 86%, 14%)
HSVhsv(152, 92%, 25%)
CMYKcmyk(92.2%, 0%, 43.8%, 74.9%)
CIE-LABlab(23.09, -25.68, 12.18)
CIE-LCHlch(23.09, 28.43, 154.62°)
OKLaboklab(32.82% -0.0692 0.0305)
OKLCHoklch(32.82% 0.076 156.3)
XYZxyz(2.2142, 3.8262, 2.2905)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054024 #400521
analogous
#054006 #054024 #053E40
triadic
#054024 #240540 #402405
tetradic
#054024 #060540 #400521 #3E4005
square
#054024 #060540 #400521 #3E4005
split-complementary
#054024 #40053E #400605
monochromatic
#021C10 #021C10 #054024 #097944 #0EB264

Accessibility & contrast

On white

11.90
#054024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#054024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054024
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054024#FFFFFF#000000##FFFFFF
##0540241.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A22
Deuteranopia (green-blind)
#393526
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054024;
/* rgb */ color: rgb(5, 64, 36);
/* oklch */ color: oklch(32.8% 0.076 156.3);
Tailwind
colors: {
  custom: {
    50: '#51755f',
    500: '#054024',
    950: '#000000',
  },
}
SCSS
$custom: #054024;
$custom-light: #51755f;
$custom-dark: #000000;
JSON
{
  "hex": "#054024",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 36
  },
  "hsl": {
    "h": 151.525,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32821,
    "c": 0.07562,
    "h": 156.3
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#054024
secondary
#81204E
accent
#2C8FFC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #054024

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

Preview Lab → · Contrast checker → · Palette generator →

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