#54891C#54891C

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

Color values

HEX#54891C
RGBrgb(84, 137, 28)
HSLhsl(89, 66%, 32%)
HSVhsv(89, 80%, 54%)
CMYKcmyk(38.7%, 0%, 79.6%, 46.3%)
CIE-LABlab(51.68, -35.35, 48.81)
CIE-LCHlch(51.68, 60.27, 125.92°)
OKLaboklab(57.16% -0.0998 0.1082)
OKLCHoklch(57.16% 0.147 132.7)
XYZxyz(12.8112, 19.8594, 4.2566)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54891C #511C89
analogous
#89871C #54891C #1E891C
triadic
#54891C #1C5489 #891C54
tetradic
#54891C #1C8987 #511C89 #891C1E
square
#54891C #1C8987 #511C89 #891C1E
split-complementary
#54891C #1C1E89 #871C89
monochromatic
#162307 #355612 #54891C #73BC26 #92D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54891C#FFFFFF#000000##000000
##54891C1.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)
#887A28
Tritanopia (blue-blind)
#558375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #54891c;
/* rgb */ color: rgb(84, 137, 28);
/* oklch */ color: oklch(57.2% 0.147 132.7);
Tailwind
colors: {
  custom: {
    50: '#89ac62',
    500: '#54891c',
    950: '#000000',
  },
}
SCSS
$custom: #54891c;
$custom-light: #89ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#54891c",
  "rgb": {
    "r": 84,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 89.174,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.14721,
    "h": 132.7
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#54891C
secondary
#7F46BB
accent
#3FE992
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54891C

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

Preview Lab → · Contrast checker → · Palette generator →

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