#54891F#54891F

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

Color values

HEX#54891F
RGBrgb(84, 137, 31)
HSLhsl(90, 63%, 33%)
HSVhsv(90, 77%, 54%)
CMYKcmyk(38.7%, 0%, 77.4%, 46.3%)
CIE-LABlab(51.70, -35.17, 47.80)
CIE-LCHlch(51.70, 59.35, 126.35°)
OKLaboklab(57.18% -0.0991 0.1066)
OKLCHoklch(57.18% 0.146 132.9)
XYZxyz(12.8490, 19.8745, 4.4552)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54891F #541F89
analogous
#89891F #54891F #1F891F
triadic
#54891F #1F5489 #891F54
tetradic
#54891F #1F8989 #541F89 #891F1F
square
#54891F #1F8989 #541F89 #891F1F
split-complementary
#54891F #1F1F89 #891F89
monochromatic
#172508 #355714 #54891F #73BB2A #91D64C

Accessibility & contrast

On white

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

On black

4.98
#54891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54891F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54891F#FFFFFF#000000##000000
##54891F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#548375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #54891f;
/* rgb */ color: rgb(84, 137, 31);
/* oklch */ color: oklch(57.2% 0.146 132.9);
Tailwind
colors: {
  custom: {
    50: '#89ac63',
    500: '#54891f',
    950: '#000000',
  },
}
SCSS
$custom: #54891f;
$custom-light: #89ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#54891f",
  "rgb": {
    "r": 84,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 90,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.14554,
    "h": 132.9
  },
  "luminance": 0.19875
}

Semantic roles & 50–950 ramp

primary
#54891F
secondary
#824BB9
accent
#42E694
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54891F

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

Preview Lab → · Contrast checker → · Palette generator →

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