#54882D#54882D

#54882D is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.0% C 0.135 H 134.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#54882D
RGBrgb(84, 136, 45)
HSLhsl(94, 50%, 35%)
HSVhsv(94, 67%, 53%)
CMYKcmyk(38.2%, 0%, 66.9%, 46.7%)
CIE-LABlab(51.48, -33.67, 41.96)
CIE-LCHlch(51.48, 53.80, 128.74°)
OKLaboklab(57.03% -0.0939 0.0964)
OKLCHoklch(57.03% 0.135 134.3)
XYZxyz(12.9337, 19.6820, 5.5996)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54882D #612D88
analogous
#81882D #54882D #2D8834
triadic
#54882D #2D5488 #882D54
tetradic
#54882D #2D8188 #612D88 #88342D
square
#54882D #2D8188 #612D88 #88342D
split-complementary
#54882D #342D88 #882D81
monochromatic
#1B2C0F #385A1E #54882D #70B63C #90CC64

Accessibility & contrast

On white

4.25
#54882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#54882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54882D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54882D#FFFFFF#000000##000000
##54882D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D21
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#548375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #54882d;
/* rgb */ color: rgb(84, 136, 45);
/* oklch */ color: oklch(57.0% 0.135 134.3);
Tailwind
colors: {
  custom: {
    50: '#88ab6a',
    500: '#54882d',
    950: '#000000',
  },
}
SCSS
$custom: #54882d;
$custom-light: #88ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54882d",
  "rgb": {
    "r": 84,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 94.286,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.13457,
    "h": 134.3
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#54882D
secondary
#8E5FB2
accent
#4EDA9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54882D

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

Preview Lab → · Contrast checker → · Palette generator →

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