#54873C#54873C

#54873C is a mid, moderate green. Relative luminance 0.195; OKLCH L 56.9% C 0.120 H 136.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#54873C
RGBrgb(84, 135, 60)
HSLhsl(101, 38%, 38%)
HSVhsv(101, 56%, 53%)
CMYKcmyk(37.8%, 0%, 55.6%, 47.1%)
CIE-LABlab(51.31, -31.63, 34.61)
CIE-LCHlch(51.31, 46.88, 132.42°)
OKLaboklab(56.95% -0.0872 0.0822)
OKLCHoklch(56.95% 0.12 136.7)
XYZxyz(13.1354, 19.5384, 7.3533)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54873C #6F3C87
analogous
#79873C #54873C #3C8749
triadic
#54873C #3C5487 #873C54
tetradic
#54873C #3C7987 #6F3C87 #87493C
square
#54873C #3C7987 #6F3C87 #87493C
split-complementary
#54873C #493C87 #873C79
monochromatic
#1F3216 #3A5D29 #54873C #6FB14F #91C47A

Accessibility & contrast

On white

4.28
#54873C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#54873C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54873C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54873C#FFFFFF#000000##000000
##54873C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D35
Deuteranopia (green-blind)
#847941
Tritanopia (blue-blind)
#528376
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54873c;
/* rgb */ color: rgb(84, 135, 60);
/* oklch */ color: oklch(56.9% 0.120 136.7);
Tailwind
colors: {
  custom: {
    50: '#87aa74',
    500: '#54873c',
    950: '#000000',
  },
}
SCSS
$custom: #54873c;
$custom-light: #87aa74;
$custom-dark: #000000;
JSON
{
  "hex": "#54873c",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 100.8,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.11984,
    "h": 136.7
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

primary
#54873C
secondary
#9A71AD
accent
#59CEA9
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #54873C

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

Preview Lab → · Contrast checker → · Palette generator →

#54873C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva