#54881B#54881B

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

Color values

HEX#54881B
RGBrgb(84, 136, 27)
HSLhsl(89, 67%, 32%)
HSVhsv(89, 80%, 53%)
CMYKcmyk(38.2%, 0%, 80.1%, 46.7%)
CIE-LABlab(51.35, -34.96, 48.83)
CIE-LCHlch(51.35, 60.05, 125.61°)
OKLaboklab(56.89% -0.0988 0.1081)
OKLCHoklch(56.89% 0.146 132.4)
XYZxyz(12.6580, 19.5717, 4.1475)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54881B #4F1B88
analogous
#88861B #54881B #1E881B
triadic
#54881B #1B5488 #881B54
tetradic
#54881B #1B8886 #4F1B88 #881B1E
square
#54881B #1B8886 #4F1B88 #881B1E
split-complementary
#54881B #1B1E88 #861B88
monochromatic
#152207 #345511 #54881B #74BB25 #92DA44

Accessibility & contrast

On white

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

On black

4.91
#54881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54881B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54881B#FFFFFF#000000##000000
##54881B1.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)
#8E7D00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#558274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54881b;
/* rgb */ color: rgb(84, 136, 27);
/* oklch */ color: oklch(56.9% 0.146 132.4);
Tailwind
colors: {
  custom: {
    50: '#89ab61',
    500: '#54881b',
    950: '#000000',
  },
}
SCSS
$custom: #54881b;
$custom-light: #89ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#54881b",
  "rgb": {
    "r": 84,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 88.624,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56888,
    "c": 0.14646,
    "h": 132.4
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#54881B
secondary
#7D44BB
accent
#3EEA90
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54881B

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

Preview Lab → · Contrast checker → · Palette generator →

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