#54873F#54873F

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

Color values

HEX#54873F
RGBrgb(84, 135, 63)
HSLhsl(103, 36%, 39%)
HSVhsv(103, 53%, 53%)
CMYKcmyk(37.8%, 0%, 53.3%, 47.1%)
CIE-LABlab(51.35, -31.26, 33.12)
CIE-LCHlch(51.35, 45.54, 133.34°)
OKLaboklab(56.99% -0.086 0.0792)
OKLCHoklch(56.99% 0.117 137.4)
XYZxyz(13.2169, 19.5710, 7.7828)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54873F #723F87
analogous
#78873F #54873F #3F874E
triadic
#54873F #3F5487 #873F54
tetradic
#54873F #3F7887 #723F87 #874E3F
square
#54873F #3F7887 #723F87 #874E3F
split-complementary
#54873F #4E3F87 #873F78
monochromatic
#203418 #3A5D2C #54873F #6FAF54 #92C37E

Accessibility & contrast

On white

4.27
#54873F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54873F#FFFFFF#000000##000000
##54873F1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D39
Deuteranopia (green-blind)
#847944
Tritanopia (blue-blind)
#528377
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54873f;
/* rgb */ color: rgb(84, 135, 63);
/* oklch */ color: oklch(57.0% 0.117 137.4);
Tailwind
colors: {
  custom: {
    50: '#87aa76',
    500: '#54873f',
    950: '#000000',
  },
}
SCSS
$custom: #54873f;
$custom-light: #87aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#54873f",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 102.5,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.11687,
    "h": 137.4
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#54873F
secondary
#9D75AD
accent
#5BCCAB
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #54873F

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

Preview Lab → · Contrast checker → · Palette generator →

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