#054023#054023

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

Color values

HEX#054023
RGBrgb(5, 64, 35)
HSLhsl(151, 86%, 14%)
HSVhsv(151, 92%, 25%)
CMYKcmyk(92.2%, 0%, 45.3%, 74.9%)
CIE-LABlab(23.07, -25.92, 12.79)
CIE-LCHlch(23.07, 28.90, 153.73°)
OKLaboklab(32.8% -0.0698 0.0319)
OKLCHoklch(32.8% 0.077 155.5)
XYZxyz(2.1991, 3.8201, 2.2112)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054023 #400522
analogous
#054005 #054023 #053F40
triadic
#054023 #230540 #402305
tetradic
#054023 #050540 #400522 #3F4005
square
#054023 #050540 #400522 #3F4005
split-complementary
#054023 #40053F #400505
monochromatic
#021C10 #021C10 #054023 #097942 #0EB261

Accessibility & contrast

On white

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

On black

1.76
#054023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##054023#FFFFFF#000000##FFFFFF
##0540231.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054023;
/* rgb */ color: rgb(5, 64, 35);
/* oklch */ color: oklch(32.8% 0.077 155.5);
Tailwind
colors: {
  custom: {
    50: '#51755e',
    500: '#054023',
    950: '#000000',
  },
}
SCSS
$custom: #054023;
$custom-light: #51755e;
$custom-dark: #000000;
JSON
{
  "hex": "#054023",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 35
  },
  "hsl": {
    "h": 150.508,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32797,
    "c": 0.07672,
    "h": 155.5
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#054023
secondary
#812050
accent
#2C92FC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #054023

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

Preview Lab → · Contrast checker → · Palette generator →

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