#54876D#54876D

#54876D is a mid, moderate green. Relative luminance 0.203; OKLCH L 58.0% C 0.068 H 161.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#54876D
RGBrgb(84, 135, 109)
HSLhsl(149, 23%, 43%)
HSVhsv(149, 38%, 53%)
CMYKcmyk(37.8%, 0%, 19.3%, 47.1%)
CIE-LABlab(52.19, -23.26, 8.64)
CIE-LCHlch(52.19, 24.81, 159.61°)
OKLaboklab(57.95% -0.0647 0.0222)
OKLCHoklch(57.95% 0.068 161)
XYZxyz(15.0794, 20.3160, 17.5918)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54876D #87546E
analogous
#548754 #54876D #548787
triadic
#54876D #6D5487 #876D54
tetradic
#54876D #545487 #87546E #878754
square
#54876D #545487 #87546E #878754
split-complementary
#54876D #875487 #875454
monochromatic
#253C30 #3D614F #54876D #71A78C #97BEAA

Accessibility & contrast

On white

4.15
#54876D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#54876D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54876D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54876D#FFFFFF#000000##000000
##54876D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86806C
Deuteranopia (green-blind)
#7D7A6F
Tritanopia (blue-blind)
#488780
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #54876d;
/* rgb */ color: rgb(84, 135, 109);
/* oklch */ color: oklch(58.0% 0.068 161.0);
Tailwind
colors: {
  custom: {
    50: '#86aa96',
    500: '#54876d',
    950: '#000000',
  },
}
SCSS
$custom: #54876d;
$custom-light: #86aa96;
$custom-dark: #000000;
JSON
{
  "hex": "#54876d",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 109
  },
  "hsl": {
    "h": 149.412,
    "s": 23.288,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.06845,
    "h": 161
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#54876D
secondary
#AC8B9C
accent
#6895C0
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100D
muted
#7C7F7E

Preview Lab

Preview with #54876D

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

Preview Lab → · Contrast checker → · Palette generator →

#54876D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva