#54881F#54881F

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

Color values

HEX#54881F
RGBrgb(84, 136, 31)
HSLhsl(90, 63%, 33%)
HSVhsv(90, 77%, 53%)
CMYKcmyk(38.2%, 0%, 77.2%, 46.7%)
CIE-LABlab(51.37, -34.73, 47.49)
CIE-LCHlch(51.37, 58.83, 126.18°)
OKLaboklab(56.91% -0.0979 0.1059)
OKLCHoklch(56.91% 0.144 132.7)
XYZxyz(12.7075, 19.5915, 4.4080)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54881F #531F88
analogous
#88871F #54881F #20881F
triadic
#54881F #1F5488 #881F54
tetradic
#54881F #1F8887 #531F88 #881F20
square
#54881F #1F8887 #531F88 #881F20
split-complementary
#54881F #1F2088 #871F88
monochromatic
#162408 #355614 #54881F #73BA2A #91D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54881F#FFFFFF#000000##000000
##54881F1.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)
#8E7D07
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#558274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54881f;
/* rgb */ color: rgb(84, 136, 31);
/* oklch */ color: oklch(56.9% 0.144 132.7);
Tailwind
colors: {
  custom: {
    50: '#89ab63',
    500: '#54881f',
    950: '#000000',
  },
}
SCSS
$custom: #54881f;
$custom-light: #89ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#54881f",
  "rgb": {
    "r": 84,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 89.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.14424,
    "h": 132.7
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#54881F
secondary
#814AB9
accent
#42E693
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54881F

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

Preview Lab → · Contrast checker → · Palette generator →

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