#54871E#54871E

#54871E is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.6% C 0.144 H 132.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#54871E
RGBrgb(84, 135, 30)
HSLhsl(89, 64%, 32%)
HSVhsv(89, 78%, 53%)
CMYKcmyk(37.8%, 0%, 77.8%, 47.1%)
CIE-LABlab(51.04, -34.34, 47.52)
CIE-LCHlch(51.04, 58.63, 125.86°)
OKLaboklab(56.64% -0.0969 0.1059)
OKLCHoklch(56.64% 0.144 132.5)
XYZxyz(12.5543, 19.3060, 4.2930)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54871E #511E87
analogous
#87861E #54871E #20871E
triadic
#54871E #1E5487 #871E54
tetradic
#54871E #1E8786 #511E87 #871E20
square
#54871E #1E8786 #511E87 #871E20
split-complementary
#54871E #1E2087 #861E87
monochromatic
#162308 #355513 #54871E #73B929 #92D749

Accessibility & contrast

On white

4.32
#54871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#54871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54871E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54871E#FFFFFF#000000##000000
##54871E1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#558173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54871e;
/* rgb */ color: rgb(84, 135, 30);
/* oklch */ color: oklch(56.6% 0.144 132.5);
Tailwind
colors: {
  custom: {
    50: '#89aa62',
    500: '#54871e',
    950: '#000000',
  },
}
SCSS
$custom: #54871e;
$custom-light: #89aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#54871e",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 89.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.14352,
    "h": 132.5
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#54871E
secondary
#7F48B9
accent
#41E792
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54871E

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

Preview Lab → · Contrast checker → · Palette generator →

#54871E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva