#54874E#54874E

#54874E is a mid, moderate green. Relative luminance 0.198; OKLCH L 57.2% C 0.101 H 141.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#54874E
RGBrgb(84, 135, 78)
HSLhsl(114, 27%, 42%)
HSVhsv(114, 42%, 53%)
CMYKcmyk(37.8%, 0%, 42.2%, 47.1%)
CIE-LABlab(51.57, -29.11, 25.37)
CIE-LCHlch(51.57, 38.62, 138.93°)
OKLaboklab(57.24% -0.0794 0.0625)
OKLCHoklch(57.24% 0.101 141.8)
XYZxyz(13.6947, 19.7621, 10.2991)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54874E #814E87
analogous
#71874E #54874E #4E8765
triadic
#54874E #4E5487 #874E54
tetradic
#54874E #4E7187 #814E87 #87654E
square
#54874E #4E7187 #814E87 #87654E
split-complementary
#54874E #654E87 #874E71
monochromatic
#243921 #3C6038 #54874E #70A96A #95BF90

Accessibility & contrast

On white

4.24
#54874E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#54874E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54874E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54874E#FFFFFF#000000##000000
##54874E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4A
Deuteranopia (green-blind)
#827951
Tritanopia (blue-blind)
#4F8479
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #54874e;
/* rgb */ color: rgb(84, 135, 78);
/* oklch */ color: oklch(57.2% 0.101 141.8);
Tailwind
colors: {
  custom: {
    50: '#86aa80',
    500: '#54874e',
    950: '#000000',
  },
}
SCSS
$custom: #54874e;
$custom-light: #86aa80;
$custom-dark: #000000;
JSON
{
  "hex": "#54874e",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 113.684,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.10107,
    "h": 141.8
  },
  "luminance": 0.19763
}

Semantic roles & 50–950 ramp

primary
#54874E
secondary
#A885AC
accent
#65C3B9
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #54874E

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

Preview Lab → · Contrast checker → · Palette generator →

#54874E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva