#54891A#54891A

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

Color values

HEX#54891A
RGBrgb(84, 137, 26)
HSLhsl(89, 68%, 32%)
HSVhsv(89, 81%, 54%)
CMYKcmyk(38.7%, 0%, 81%, 46.3%)
CIE-LABlab(51.67, -35.46, 49.44)
CIE-LCHlch(51.67, 60.85, 125.65°)
OKLaboklab(57.15% -0.1002 0.1092)
OKLCHoklch(57.15% 0.148 132.5)
XYZxyz(12.7881, 19.8501, 4.1347)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54891A #4F1A89
analogous
#89871A #54891A #1C891A
triadic
#54891A #1A5489 #891A54
tetradic
#54891A #1A8987 #4F1A89 #891A1C
square
#54891A #1A8987 #4F1A89 #891A1C
split-complementary
#54891A #1A1C89 #871A89
monochromatic
#152206 #345610 #54891A #74BC24 #92DB42

Accessibility & contrast

On white

4.23
#54891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54891A#FFFFFF#000000##000000
##54891A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54891a;
/* rgb */ color: rgb(84, 137, 26);
/* oklch */ color: oklch(57.1% 0.148 132.5);
Tailwind
colors: {
  custom: {
    50: '#89ac61',
    500: '#54891a',
    950: '#000000',
  },
}
SCSS
$custom: #54891a;
$custom-light: #89ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#54891a",
  "rgb": {
    "r": 84,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 88.649,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.14825,
    "h": 132.5
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#54891A
secondary
#7D43BC
accent
#3DEB90
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54891A

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

Preview Lab → · Contrast checker → · Palette generator →

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