#54872E#54872E

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

Color values

HEX#54872E
RGBrgb(84, 135, 46)
HSLhsl(94, 49%, 35%)
HSVhsv(94, 66%, 53%)
CMYKcmyk(37.8%, 0%, 65.9%, 47.1%)
CIE-LABlab(51.16, -33.12, 41.18)
CIE-LCHlch(51.16, 52.84, 128.81°)
OKLaboklab(56.78% -0.0923 0.0949)
OKLCHoklch(56.78% 0.132 134.2)
XYZxyz(12.8130, 19.4094, 5.6555)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54872E #612E87
analogous
#80872E #54872E #2E8734
triadic
#54872E #2E5487 #872E54
tetradic
#54872E #2E8087 #612E87 #87342E
square
#54872E #2E8087 #612E87 #87342E
split-complementary
#54872E #342E87 #872E80
monochromatic
#1B2C0F #38591E #54872E #70B53E #90CA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54872E#FFFFFF#000000##000000
##54872E1.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)
#8C7D23
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#548274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54872e;
/* rgb */ color: rgb(84, 135, 46);
/* oklch */ color: oklch(56.8% 0.132 134.2);
Tailwind
colors: {
  custom: {
    50: '#88aa6b',
    500: '#54872e',
    950: '#000000',
  },
}
SCSS
$custom: #54872e;
$custom-light: #88aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#54872e",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 94.382,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56779,
    "c": 0.13238,
    "h": 134.2
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#54872E
secondary
#8E60B1
accent
#4FD99E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54872E

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

Preview Lab → · Contrast checker → · Palette generator →

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