#54874F#54874F

#54874F is a mid, moderate green. Relative luminance 0.198; OKLCH L 57.3% C 0.100 H 142.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#54874F
RGBrgb(84, 135, 79)
HSLhsl(115, 26%, 42%)
HSVhsv(115, 41%, 53%)
CMYKcmyk(37.8%, 0%, 41.5%, 47.1%)
CIE-LABlab(51.58, -28.95, 24.84)
CIE-LCHlch(51.58, 38.15, 139.37°)
OKLaboklab(57.26% -0.079 0.0613)
OKLCHoklch(57.26% 0.1 142.2)
XYZxyz(13.7308, 19.7766, 10.4894)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54874F #824F87
analogous
#70874F #54874F #4F8766
triadic
#54874F #4F5487 #874F54
tetradic
#54874F #4F7087 #824F87 #87664F
square
#54874F #4F7087 #824F87 #87664F
split-complementary
#54874F #664F87 #874F70
monochromatic
#243A22 #3C6038 #54874F #70A86B #96BF91

Accessibility & contrast

On white

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

On black

4.96
#54874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54874F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54874F#FFFFFF#000000##000000
##54874F1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54874f;
/* rgb */ color: rgb(84, 135, 79);
/* oklch */ color: oklch(57.3% 0.100 142.2);
Tailwind
colors: {
  custom: {
    50: '#86aa81',
    500: '#54874f',
    950: '#000000',
  },
}
SCSS
$custom: #54874f;
$custom-light: #86aa81;
$custom-dark: #000000;
JSON
{
  "hex": "#54874f",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 114.643,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.09998,
    "h": 142.2
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#54874F
secondary
#A886AC
accent
#65C3BA
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #54874F

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

Preview Lab → · Contrast checker → · Palette generator →

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