#54873A#54873A

#54873A is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.9% C 0.122 H 136.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#54873A
RGBrgb(84, 135, 58)
HSLhsl(100, 40%, 38%)
HSVhsv(100, 57%, 53%)
CMYKcmyk(37.8%, 0%, 57%, 47.1%)
CIE-LABlab(51.29, -31.87, 35.59)
CIE-LCHlch(51.29, 47.77, 131.84°)
OKLaboklab(56.92% -0.088 0.0842)
OKLCHoklch(56.92% 0.122 136.3)
XYZxyz(13.0835, 19.5176, 7.0801)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54873A #6D3A87
analogous
#7A873A #54873A #3A8746
triadic
#54873A #3A5487 #873A54
tetradic
#54873A #3A7A87 #6D3A87 #87463A
square
#54873A #3A7A87 #6D3A87 #87463A
split-complementary
#54873A #463A87 #873A7A
monochromatic
#1F3115 #395C28 #54873A #6FB24C #91C577

Accessibility & contrast

On white

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

On black

4.90
#54873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54873A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54873A#FFFFFF#000000##000000
##54873A1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D33
Deuteranopia (green-blind)
#84793F
Tritanopia (blue-blind)
#528276
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54873a;
/* rgb */ color: rgb(84, 135, 58);
/* oklch */ color: oklch(56.9% 0.122 136.3);
Tailwind
colors: {
  custom: {
    50: '#87aa72',
    500: '#54873a',
    950: '#000000',
  },
}
SCSS
$custom: #54873a;
$custom-light: #87aa72;
$custom-dark: #000000;
JSON
{
  "hex": "#54873a",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 99.74,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.12176,
    "h": 136.3
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#54873A
secondary
#996FAE
accent
#58D0A7
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #54873A

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

Preview Lab → · Contrast checker → · Palette generator →

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