#54874B#54874B

#54874B is a mid, moderate green. Relative luminance 0.197; OKLCH L 57.2% C 0.104 H 140.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#54874B
RGBrgb(84, 135, 75)
HSLhsl(111, 29%, 41%)
HSVhsv(111, 44%, 53%)
CMYKcmyk(37.8%, 0%, 44.4%, 47.1%)
CIE-LABlab(51.52, -29.58, 26.95)
CIE-LCHlch(51.52, 40.01, 137.66°)
OKLaboklab(57.18% -0.0808 0.066)
OKLCHoklch(57.18% 0.104 140.7)
XYZxyz(13.5896, 19.7201, 9.7456)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54874B #7E4B87
analogous
#72874B #54874B #4B8760
triadic
#54874B #4B5487 #874B54
tetradic
#54874B #4B7287 #7E4B87 #87604B
square
#54874B #4B7287 #7E4B87 #87604B
split-complementary
#54874B #604B87 #874B72
monochromatic
#23381F #3C6035 #54874B #70AA65 #94C08D

Accessibility & contrast

On white

4.25
#54874B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#54874B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54874B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54874B#FFFFFF#000000##000000
##54874B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E46
Deuteranopia (green-blind)
#82794F
Tritanopia (blue-blind)
#508478
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #54874b;
/* rgb */ color: rgb(84, 135, 75);
/* oklch */ color: oklch(57.2% 0.104 140.7);
Tailwind
colors: {
  custom: {
    50: '#87aa7e',
    500: '#54874b',
    950: '#000000',
  },
}
SCSS
$custom: #54874b;
$custom-light: #87aa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#54874b",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 111,
    "s": 28.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.10433,
    "h": 140.7
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#54874B
secondary
#A582AC
accent
#63C5B6
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #54874B

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

Preview Lab → · Contrast checker → · Palette generator →

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