#54891B#54891B

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

Color values

HEX#54891B
RGBrgb(84, 137, 27)
HSLhsl(89, 67%, 32%)
HSVhsv(89, 80%, 54%)
CMYKcmyk(38.7%, 0%, 80.3%, 46.3%)
CIE-LABlab(51.67, -35.41, 49.13)
CIE-LCHlch(51.67, 60.56, 125.78°)
OKLaboklab(57.15% -0.1 0.1087)
OKLCHoklch(57.15% 0.148 132.6)
XYZxyz(12.7995, 19.8547, 4.1946)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54891B #501B89
analogous
#89871B #54891B #1D891B
triadic
#54891B #1B5489 #891B54
tetradic
#54891B #1B8987 #501B89 #891B1D
square
#54891B #1B8987 #501B89 #891B1D
split-complementary
#54891B #1B1D89 #871B89
monochromatic
#152307 #355611 #54891B #73BC25 #92DA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54891B#FFFFFF#000000##000000
##54891B1.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)
#8F7E00
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#558375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #54891b;
/* rgb */ color: rgb(84, 137, 27);
/* oklch */ color: oklch(57.2% 0.148 132.6);
Tailwind
colors: {
  custom: {
    50: '#89ac61',
    500: '#54891b',
    950: '#000000',
  },
}
SCSS
$custom: #54891b;
$custom-light: #89ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#54891b",
  "rgb": {
    "r": 84,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 88.909,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.14774,
    "h": 132.6
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#54891B
secondary
#7E44BC
accent
#3EEA91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54891B

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

Preview Lab → · Contrast checker → · Palette generator →

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