#54881C#54881C

#54881C is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.9% C 0.146 H 132.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#54881C
RGBrgb(84, 136, 28)
HSLhsl(89, 66%, 32%)
HSVhsv(89, 79%, 53%)
CMYKcmyk(38.2%, 0%, 79.4%, 46.7%)
CIE-LABlab(51.35, -34.91, 48.50)
CIE-LCHlch(51.35, 59.76, 125.74°)
OKLaboklab(56.89% -0.0986 0.1076)
OKLCHoklch(56.89% 0.146 132.5)
XYZxyz(12.6698, 19.5764, 4.2094)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54881C #501C88
analogous
#88861C #54881C #1E881C
triadic
#54881C #1C5488 #881C54
tetradic
#54881C #1C8886 #501C88 #881C1E
square
#54881C #1C8886 #501C88 #881C1E
split-complementary
#54881C #1C1E88 #861C88
monochromatic
#152207 #355512 #54881C #73BB26 #92D946

Accessibility & contrast

On white

4.27
#54881C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#54881C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54881C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54881C#FFFFFF#000000##000000
##54881C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#558274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54881c;
/* rgb */ color: rgb(84, 136, 28);
/* oklch */ color: oklch(56.9% 0.146 132.5);
Tailwind
colors: {
  custom: {
    50: '#89ab62',
    500: '#54881c',
    950: '#000000',
  },
}
SCSS
$custom: #54881c;
$custom-light: #89ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#54881c",
  "rgb": {
    "r": 84,
    "g": 136,
    "b": 28
  },
  "hsl": {
    "h": 88.889,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.14593,
    "h": 132.5
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#54881C
secondary
#7E45BA
accent
#3FE991
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54881C

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

Preview Lab → · Contrast checker → · Palette generator →

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