#54872C#54872C

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

Color values

HEX#54872C
RGBrgb(84, 135, 44)
HSLhsl(94, 51%, 35%)
HSVhsv(94, 67%, 53%)
CMYKcmyk(37.8%, 0%, 67.4%, 47.1%)
CIE-LABlab(51.15, -33.30, 42.05)
CIE-LCHlch(51.15, 53.64, 128.38°)
OKLaboklab(56.76% -0.093 0.0964)
OKLCHoklch(56.76% 0.134 134)
XYZxyz(12.7745, 19.3940, 5.4527)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54872C #5F2C87
analogous
#82872C #54872C #2C8731
triadic
#54872C #2C5487 #872C54
tetradic
#54872C #2C8287 #5F2C87 #87312C
square
#54872C #2C8287 #5F2C87 #87312C
split-complementary
#54872C #312C87 #872C82
monochromatic
#1B2B0E #37591D #54872C #71B53B #90CC62

Accessibility & contrast

On white

4.30
#54872C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54872C#FFFFFF#000000##000000
##54872C1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54872c;
/* rgb */ color: rgb(84, 135, 44);
/* oklch */ color: oklch(56.8% 0.134 134.0);
Tailwind
colors: {
  custom: {
    50: '#88aa6a',
    500: '#54872c',
    950: '#000000',
  },
}
SCSS
$custom: #54872c;
$custom-light: #88aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54872c",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 93.626,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.13397,
    "h": 134
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#54872C
secondary
#8D5DB2
accent
#4DDA9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54872C

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

Preview Lab → · Contrast checker → · Palette generator →

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