#054030#054030

#054030 is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.2% C 0.064 H 168.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#054030
RGBrgb(5, 64, 48)
HSLhsl(164, 86%, 14%)
HSVhsv(164, 92%, 25%)
CMYKcmyk(92.2%, 0%, 25%, 74.9%)
CIE-LABlab(23.38, -22.46, 4.77)
CIE-LCHlch(23.38, 22.96, 168.00°)
OKLaboklab(33.16% -0.0623 0.0122)
OKLCHoklch(33.16% 0.064 168.9)
XYZxyz(2.4292, 3.9121, 3.4228)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054030 #400515
analogous
#054012 #054030 #053240
triadic
#054030 #300540 #403005
tetradic
#054030 #120540 #400515 #324005
square
#054030 #120540 #400515 #324005
split-complementary
#054030 #400532 #401205
monochromatic
#021C15 #021C15 #054030 #09795B #0EB285

Accessibility & contrast

On white

11.78
#054030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#054030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054030
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054030#FFFFFF#000000##FFFFFF
##0540301.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2F
Deuteranopia (green-blind)
#373631
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054030;
/* rgb */ color: rgb(5, 64, 48);
/* oklch */ color: oklch(33.2% 0.064 168.9);
Tailwind
colors: {
  custom: {
    50: '#527568',
    500: '#054030',
    950: '#000000',
  },
}
SCSS
$custom: #054030;
$custom-light: #527568;
$custom-dark: #000000;
JSON
{
  "hex": "#054030",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 48
  },
  "hsl": {
    "h": 163.729,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33156,
    "c": 0.0635,
    "h": 168.9
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#054030
secondary
#81203A
accent
#2C64FC
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #054030

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

Preview Lab → · Contrast checker → · Palette generator →

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