#54861A#54861A

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

Color values

HEX#54861A
RGBrgb(84, 134, 26)
HSLhsl(88, 68%, 31%)
HSVhsv(88, 81%, 53%)
CMYKcmyk(37.3%, 0%, 80.6%, 47.5%)
CIE-LABlab(50.70, -34.12, 48.54)
CIE-LCHlch(50.70, 59.33, 125.11°)
OKLaboklab(56.35% -0.0966 0.1073)
OKLCHoklch(56.35% 0.144 132)
XYZxyz(12.3676, 19.0091, 3.9946)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54861A #4C1A86
analogous
#86821A #54861A #1E861A
triadic
#54861A #1A5486 #861A54
tetradic
#54861A #1A8682 #4C1A86 #861A1E
square
#54861A #1A8682 #4C1A86 #861A1E
split-complementary
#54861A #1A1E86 #821A86
monochromatic
#141F06 #345310 #54861A #74B924 #93DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54861A#FFFFFF#000000##000000
##54861A1.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: #54861a;
/* rgb */ color: rgb(84, 134, 26);
/* oklch */ color: oklch(56.4% 0.144 132.0);
Tailwind
colors: {
  custom: {
    50: '#89a960',
    500: '#54861a',
    950: '#000000',
  },
}
SCSS
$custom: #54861a;
$custom-light: #89a960;
$custom-dark: #000000;
JSON
{
  "hex": "#54861a",
  "rgb": {
    "r": 84,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 87.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56354,
    "c": 0.14442,
    "h": 132
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#54861A
secondary
#7942B9
accent
#3DEA8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54861A

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

Preview Lab → · Contrast checker → · Palette generator →

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