#54872B#54872B

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

Color values

HEX#54872B
RGBrgb(84, 135, 43)
HSLhsl(93, 52%, 35%)
HSVhsv(93, 68%, 53%)
CMYKcmyk(37.8%, 0%, 68.1%, 47.1%)
CIE-LABlab(51.14, -33.39, 42.48)
CIE-LCHlch(51.14, 54.03, 128.17°)
OKLaboklab(56.75% -0.0933 0.0972)
OKLCHoklch(56.75% 0.135 133.8)
XYZxyz(12.7559, 19.3866, 5.3549)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54872B #5E2B87
analogous
#82872B #54872B #2B8730
triadic
#54872B #2B5487 #872B54
tetradic
#54872B #2B8287 #5E2B87 #87302B
square
#54872B #2B8287 #5E2B87 #87302B
split-complementary
#54872B #302B87 #872B82
monochromatic
#1A2A0D #37591C #54872B #71B53A #90CC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54872B#FFFFFF#000000##000000
##54872B1.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)
#8C7C1F
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#548274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54872b;
/* rgb */ color: rgb(84, 135, 43);
/* oklch */ color: oklch(56.7% 0.135 133.8);
Tailwind
colors: {
  custom: {
    50: '#88aa69',
    500: '#54872b',
    950: '#000000',
  },
}
SCSS
$custom: #54872b;
$custom-light: #88aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#54872b",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 93.261,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.13475,
    "h": 133.8
  },
  "luminance": 0.19387
}

Semantic roles & 50–950 ramp

primary
#54872B
secondary
#8C5BB2
accent
#4DDB9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54872B

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

Preview Lab → · Contrast checker → · Palette generator →

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