#54861D#54861D

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

Color values

HEX#54861D
RGBrgb(84, 134, 29)
HSLhsl(89, 64%, 32%)
HSVhsv(89, 78%, 53%)
CMYKcmyk(37.3%, 0%, 78.4%, 47.5%)
CIE-LABlab(50.71, -33.95, 47.55)
CIE-LCHlch(50.71, 58.43, 125.53°)
OKLaboklab(56.37% -0.0959 0.1058)
OKLCHoklch(56.37% 0.143 132.2)
XYZxyz(12.4029, 19.0232, 4.1805)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54861D #4F1D86
analogous
#86831D #54861D #20861D
triadic
#54861D #1D5486 #861D54
tetradic
#54861D #1D8683 #4F1D86 #861D20
square
#54861D #1D8683 #4F1D86 #861D20
split-complementary
#54861D #1D2086 #831D86
monochromatic
#152107 #345412 #54861D #74B828 #92D746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54861D#FFFFFF#000000##000000
##54861D1.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)
#8C7B04
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#558072
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #54861d;
/* rgb */ color: rgb(84, 134, 29);
/* oklch */ color: oklch(56.4% 0.143 132.2);
Tailwind
colors: {
  custom: {
    50: '#89a962',
    500: '#54861d',
    950: '#000000',
  },
}
SCSS
$custom: #54861d;
$custom-light: #89a962;
$custom-dark: #000000;
JSON
{
  "hex": "#54861d",
  "rgb": {
    "r": 84,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 88.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.14278,
    "h": 132.2
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#54861D
secondary
#7D46B9
accent
#40E790
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54861D

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

Preview Lab → · Contrast checker → · Palette generator →

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