#54872F#54872F

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

Color values

HEX#54872F
RGBrgb(84, 135, 47)
HSLhsl(95, 48%, 36%)
HSVhsv(95, 65%, 53%)
CMYKcmyk(37.8%, 0%, 65.2%, 47.1%)
CIE-LABlab(51.17, -33.03, 40.73)
CIE-LCHlch(51.17, 52.44, 129.04°)
OKLaboklab(56.79% -0.092 0.0941)
OKLCHoklch(56.79% 0.132 134.4)
XYZxyz(12.8330, 19.4174, 5.7605)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54872F #622F87
analogous
#80872F #54872F #2F8736
triadic
#54872F #2F5487 #872F54
tetradic
#54872F #2F8087 #622F87 #87362F
square
#54872F #2F8087 #622F87 #87362F
split-complementary
#54872F #362F87 #872F80
monochromatic
#1C2C0F #385A1F #54872F #70B43F #90CA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54872F#FFFFFF#000000##000000
##54872F1.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)
#8C7D24
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#548275
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54872f;
/* rgb */ color: rgb(84, 135, 47);
/* oklch */ color: oklch(56.8% 0.132 134.4);
Tailwind
colors: {
  custom: {
    50: '#88aa6c',
    500: '#54872f',
    950: '#000000',
  },
}
SCSS
$custom: #54872f;
$custom-light: #88aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#54872f",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 94.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.13157,
    "h": 134.4
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#54872F
secondary
#8F61B1
accent
#50D89F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54872F

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

Preview Lab → · Contrast checker → · Palette generator →

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