#54861B#54861B

#54861B is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.4% C 0.144 H 132.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#54861B
RGBrgb(84, 134, 27)
HSLhsl(88, 66%, 32%)
HSVhsv(88, 80%, 53%)
CMYKcmyk(37.3%, 0%, 79.9%, 47.5%)
CIE-LABlab(50.70, -34.07, 48.22)
CIE-LCHlch(50.70, 59.04, 125.24°)
OKLaboklab(56.36% -0.0964 0.1068)
OKLCHoklch(56.36% 0.144 132.1)
XYZxyz(12.3789, 19.0136, 4.0545)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54861B #4D1B86
analogous
#86831B #54861B #1F861B
triadic
#54861B #1B5486 #861B54
tetradic
#54861B #1B8683 #4D1B86 #861B1F
square
#54861B #1B8683 #4D1B86 #861B1F
split-complementary
#54861B #1B1F86 #831B86
monochromatic
#142006 #345311 #54861B #74B925 #93D942

Accessibility & contrast

On white

4.37
#54861B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#54861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54861B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54861B#FFFFFF#000000##000000
##54861B1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#558072
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #54861b;
/* rgb */ color: rgb(84, 134, 27);
/* oklch */ color: oklch(56.4% 0.144 132.1);
Tailwind
colors: {
  custom: {
    50: '#89a961',
    500: '#54861b',
    950: '#000000',
  },
}
SCSS
$custom: #54861b;
$custom-light: #89a961;
$custom-dark: #000000;
JSON
{
  "hex": "#54861b",
  "rgb": {
    "r": 84,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 88.037,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.14389,
    "h": 132.1
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#54861B
secondary
#7B44B9
accent
#3EE98E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54861B

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

Preview Lab → · Contrast checker → · Palette generator →

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