#54873E#54873E

#54873E is a mid, moderate green. Relative luminance 0.196; OKLCH L 57.0% C 0.118 H 137.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#54873E
RGBrgb(84, 135, 62)
HSLhsl(102, 37%, 39%)
HSVhsv(102, 54%, 53%)
CMYKcmyk(37.8%, 0%, 54.1%, 47.1%)
CIE-LABlab(51.34, -31.38, 33.62)
CIE-LCHlch(51.34, 45.99, 133.03°)
OKLaboklab(56.98% -0.0864 0.0802)
OKLCHoklch(56.98% 0.118 137.1)
XYZxyz(13.1893, 19.5599, 7.6370)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54873E #713E87
analogous
#78873E #54873E #3E874C
triadic
#54873E #3E5487 #873E54
tetradic
#54873E #3E7887 #713E87 #874C3E
square
#54873E #3E7887 #713E87 #874C3E
split-complementary
#54873E #4C3E87 #873E78
monochromatic
#203317 #3A5D2B #54873E #6FB052 #92C37C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54873E#FFFFFF#000000##000000
##54873E1.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)
#8B7D37
Deuteranopia (green-blind)
#847943
Tritanopia (blue-blind)
#528376
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54873e;
/* rgb */ color: rgb(84, 135, 62);
/* oklch */ color: oklch(57.0% 0.118 137.1);
Tailwind
colors: {
  custom: {
    50: '#87aa75',
    500: '#54873e',
    950: '#000000',
  },
}
SCSS
$custom: #54873e;
$custom-light: #87aa75;
$custom-dark: #000000;
JSON
{
  "hex": "#54873e",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 101.918,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.11787,
    "h": 137.1
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#54873E
secondary
#9C74AD
accent
#5BCDAB
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #54873E

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

Preview Lab → · Contrast checker → · Palette generator →

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