#54861C#54861C

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

Color values

HEX#54861C
RGBrgb(84, 134, 28)
HSLhsl(88, 65%, 32%)
HSVhsv(88, 79%, 53%)
CMYKcmyk(37.3%, 0%, 79.1%, 47.5%)
CIE-LABlab(50.71, -34.01, 47.89)
CIE-LCHlch(50.71, 58.74, 125.38°)
OKLaboklab(56.37% -0.0962 0.1063)
OKLCHoklch(56.37% 0.143 132.1)
XYZxyz(12.3907, 19.0183, 4.1164)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54861C #4E1C86
analogous
#86831C #54861C #1F861C
triadic
#54861C #1C5486 #861C54
tetradic
#54861C #1C8683 #4E1C86 #861C1F
square
#54861C #1C8683 #4E1C86 #861C1F
split-complementary
#54861C #1C1F86 #831C86
monochromatic
#152107 #345311 #54861C #74B927 #92D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54861C#FFFFFF#000000##000000
##54861C1.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)
#8C7B01
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#558072
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #54861c;
/* rgb */ color: rgb(84, 134, 28);
/* oklch */ color: oklch(56.4% 0.143 132.1);
Tailwind
colors: {
  custom: {
    50: '#89a961',
    500: '#54861c',
    950: '#000000',
  },
}
SCSS
$custom: #54861c;
$custom-light: #89a961;
$custom-dark: #000000;
JSON
{
  "hex": "#54861c",
  "rgb": {
    "r": 84,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 88.302,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.14335,
    "h": 132.1
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#54861C
secondary
#7C45B9
accent
#3FE88F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54861C

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

Preview Lab → · Contrast checker → · Palette generator →

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