#54872A#54872A

#54872A is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.7% C 0.136 H 133.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#54872A
RGBrgb(84, 135, 42)
HSLhsl(93, 53%, 35%)
HSVhsv(93, 69%, 53%)
CMYKcmyk(37.8%, 0%, 68.9%, 47.1%)
CIE-LABlab(51.13, -33.47, 42.90)
CIE-LCHlch(51.13, 54.41, 127.96°)
OKLaboklab(56.74% -0.0936 0.098)
OKLCHoklch(56.74% 0.136 133.7)
XYZxyz(12.7378, 19.3794, 5.2595)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54872A #5D2A87
analogous
#83872A #54872A #2A872F
triadic
#54872A #2A5487 #872A54
tetradic
#54872A #2A8387 #5D2A87 #872F2A
square
#54872A #2A8387 #5D2A87 #872F2A
split-complementary
#54872A #2F2A87 #872A83
monochromatic
#1A2A0D #37581B #54872A #71B639 #90CD5E

Accessibility & contrast

On white

4.31
#54872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#54872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54872A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54872A#FFFFFF#000000##000000
##54872A1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1D
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#548274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54872a;
/* rgb */ color: rgb(84, 135, 42);
/* oklch */ color: oklch(56.7% 0.136 133.7);
Tailwind
colors: {
  custom: {
    50: '#88aa69',
    500: '#54872a',
    950: '#000000',
  },
}
SCSS
$custom: #54872a;
$custom-light: #88aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#54872a",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 92.903,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5674,
    "c": 0.13551,
    "h": 133.7
  },
  "luminance": 0.1938
}

Semantic roles & 50–950 ramp

primary
#54872A
secondary
#8B5AB3
accent
#4CDC9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54872A

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

Preview Lab → · Contrast checker → · Palette generator →

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