#54917B#54917B

#54917B is a mid, moderate teal. Relative luminance 0.236; OKLCH L 60.9% C 0.073 H 168.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#54917B
RGBrgb(84, 145, 123)
HSLhsl(158, 27%, 45%)
HSVhsv(158, 42%, 57%)
CMYKcmyk(42.1%, 0%, 15.2%, 43.1%)
CIE-LABlab(55.65, -25.17, 5.52)
CIE-LCHlch(55.65, 25.77, 167.63°)
OKLaboklab(60.86% -0.0711 0.0142)
OKLCHoklch(60.86% 0.073 168.7)
XYZxyz(17.3553, 23.5645, 22.3689)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54917B #91546A
analogous
#54915D #54917B #548991
triadic
#54917B #7B5491 #917B54
tetradic
#54917B #5D5491 #91546A #899154
square
#54917B #5D5491 #91546A #899154
split-complementary
#54917B #915489 #915D54
monochromatic
#274339 #3E6A5A #54917B #74AE99 #9BC5B6

Accessibility & contrast

On white

3.68
#54917B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#54917B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54917B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54917B#FFFFFF#000000##000000
##54917B1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7A
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#42928B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #54917b;
/* rgb */ color: rgb(84, 145, 123);
/* oklch */ color: oklch(60.9% 0.073 168.7);
Tailwind
colors: {
  custom: {
    50: '#87b1a1',
    500: '#54917b',
    950: '#000000',
  },
}
SCSS
$custom: #54917b;
$custom-light: #87b1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#54917b",
  "rgb": {
    "r": 84,
    "g": 145,
    "b": 123
  },
  "hsl": {
    "h": 158.361,
    "s": 26.638,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.07252,
    "h": 168.7
  },
  "luminance": 0.23566
}

Semantic roles & 50–950 ramp

primary
#54917B
secondary
#B28F9B
accent
#6587C3
background
#F8FAF9
surface
#F0F5F2
border
#CBCFCC
text
#0B110E
muted
#7C807E

Preview Lab

Preview with #54917B

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

Preview Lab → · Contrast checker → · Palette generator →

#54917B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva