#054231#054231

#054231 is a dark, moderate teal. Relative luminance 0.042; OKLCH L 33.8% C 0.065 H 168.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#054231
RGBrgb(5, 66, 49)
HSLhsl(163, 86%, 14%)
HSVhsv(163, 92%, 26%)
CMYKcmyk(92.4%, 0%, 25.8%, 74.1%)
CIE-LABlab(24.16, -23.14, 5.23)
CIE-LCHlch(24.16, 23.72, 167.27°)
OKLaboklab(33.81% -0.0641 0.0134)
OKLCHoklch(33.81% 0.065 168.2)
XYZxyz(2.5649, 4.1501, 3.5710)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054231 #420516
analogous
#054213 #054231 #053542
triadic
#054231 #310542 #423105
tetradic
#054231 #130542 #420516 #354205
square
#054231 #130542 #420516 #354205
split-complementary
#054231 #420535 #421305
monochromatic
#021C15 #021C15 #054231 #097B5B #0EB485

Accessibility & contrast

On white

11.48
#054231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#054231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054231
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054231#FFFFFF#000000##FFFFFF
##0542311.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D30
Deuteranopia (green-blind)
#393732
Tritanopia (blue-blind)
#00423D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #054231;
/* rgb */ color: rgb(5, 66, 49);
/* oklch */ color: oklch(33.8% 0.065 168.2);
Tailwind
colors: {
  custom: {
    50: '#527769',
    500: '#054231',
    950: '#000000',
  },
}
SCSS
$custom: #054231;
$custom-light: #527769;
$custom-dark: #000000;
JSON
{
  "hex": "#054231",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 163.279,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33808,
    "c": 0.06545,
    "h": 168.2
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#054231
secondary
#82203C
accent
#2C66FC
background
#F5F7F6
surface
#E8EDEB
border
#C4C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #054231

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

Preview Lab → · Contrast checker → · Palette generator →

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