#54891D#54891D

#54891D is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.147 H 132.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#54891D
RGBrgb(84, 137, 29)
HSLhsl(89, 65%, 33%)
HSVhsv(89, 79%, 54%)
CMYKcmyk(38.7%, 0%, 78.8%, 46.3%)
CIE-LABlab(51.68, -35.30, 48.48)
CIE-LCHlch(51.68, 59.97, 126.06°)
OKLaboklab(57.17% -0.0996 0.1077)
OKLCHoklch(57.17% 0.147 132.8)
XYZxyz(12.8234, 19.8643, 4.3207)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54891D #521D89
analogous
#89881D #54891D #1E891D
triadic
#54891D #1D5489 #891D54
tetradic
#54891D #1D8988 #521D89 #891D1E
square
#54891D #1D8988 #521D89 #891D1E
split-complementary
#54891D #1D1E89 #881D89
monochromatic
#162408 #355612 #54891D #73BC28 #92D848

Accessibility & contrast

On white

4.22
#54891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#54891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54891D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54891D#FFFFFF#000000##000000
##54891D1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E02
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#558375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #54891d;
/* rgb */ color: rgb(84, 137, 29);
/* oklch */ color: oklch(57.2% 0.147 132.8);
Tailwind
colors: {
  custom: {
    50: '#89ac62',
    500: '#54891d',
    950: '#000000',
  },
}
SCSS
$custom: #54891d;
$custom-light: #89ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#54891d",
  "rgb": {
    "r": 84,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 89.444,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.14667,
    "h": 132.8
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#54891D
secondary
#8047BA
accent
#40E892
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54891D

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

Preview Lab → · Contrast checker → · Palette generator →

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