#54872D#54872D

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

Color values

HEX#54872D
RGBrgb(84, 135, 45)
HSLhsl(94, 50%, 35%)
HSVhsv(94, 67%, 53%)
CMYKcmyk(37.8%, 0%, 66.7%, 47.1%)
CIE-LABlab(51.15, -33.21, 41.61)
CIE-LCHlch(51.15, 53.24, 128.59°)
OKLaboklab(56.77% -0.0927 0.0957)
OKLCHoklch(56.77% 0.133 134.1)
XYZxyz(12.7935, 19.4016, 5.5529)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54872D #602D87
analogous
#81872D #54872D #2D8733
triadic
#54872D #2D5487 #872D54
tetradic
#54872D #2D8187 #602D87 #87332D
square
#54872D #2D8187 #602D87 #87332D
split-complementary
#54872D #332D87 #872D81
monochromatic
#1B2B0E #37591E #54872D #71B53C #90CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54872D#FFFFFF#000000##000000
##54872D1.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)
#8C7C22
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#548274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #54872d;
/* rgb */ color: rgb(84, 135, 45);
/* oklch */ color: oklch(56.8% 0.133 134.1);
Tailwind
colors: {
  custom: {
    50: '#88aa6a',
    500: '#54872d',
    950: '#000000',
  },
}
SCSS
$custom: #54872d;
$custom-light: #88aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54872d",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 94,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.13318,
    "h": 134.1
  },
  "luminance": 0.19402
}

Semantic roles & 50–950 ramp

primary
#54872D
secondary
#8D5EB2
accent
#4EDA9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54872D

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

Preview Lab → · Contrast checker → · Palette generator →

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