#54881D#54881D

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

Color values

HEX#54881D
RGBrgb(84, 136, 29)
HSLhsl(89, 65%, 32%)
HSVhsv(89, 79%, 53%)
CMYKcmyk(38.2%, 0%, 78.7%, 46.7%)
CIE-LABlab(51.36, -34.85, 48.17)
CIE-LCHlch(51.36, 59.46, 125.88°)
OKLaboklab(56.9% -0.0984 0.1071)
OKLCHoklch(56.9% 0.145 132.6)
XYZxyz(12.6819, 19.5813, 4.2735)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54881D #511D88
analogous
#88871D #54881D #1F881D
triadic
#54881D #1D5488 #881D54
tetradic
#54881D #1D8887 #511D88 #881D1F
square
#54881D #1D8887 #511D88 #881D1F
split-complementary
#54881D #1D1F88 #871D88
monochromatic
#162307 #355612 #54881D #73BA28 #92D848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54881D#FFFFFF#000000##000000
##54881D1.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)
#8E7D02
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#558274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54881d;
/* rgb */ color: rgb(84, 136, 29);
/* oklch */ color: oklch(56.9% 0.145 132.6);
Tailwind
colors: {
  custom: {
    50: '#89ab62',
    500: '#54881d',
    950: '#000000',
  },
}
SCSS
$custom: #54881d;
$custom-light: #89ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#54881d",
  "rgb": {
    "r": 84,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 89.159,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.14538,
    "h": 132.6
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#54881D
secondary
#7F47BA
accent
#40E892
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54881D

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

Preview Lab → · Contrast checker → · Palette generator →

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