#54821D#54821D

#54821D is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.138 H 131.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#54821D
RGBrgb(84, 130, 29)
HSLhsl(87, 64%, 31%)
HSVhsv(87, 78%, 51%)
CMYKcmyk(35.4%, 0%, 77.7%, 49%)
CIE-LABlab(49.42, -32.13, 46.31)
CIE-LCHlch(49.42, 56.37, 124.75°)
OKLaboklab(55.32% -0.091 0.1032)
OKLCHoklch(55.32% 0.138 131.4)
XYZxyz(11.8604, 17.9383, 3.9997)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54821D #4B1D82
analogous
#827D1D #54821D #21821D
triadic
#54821D #1D5482 #821D54
tetradic
#54821D #1D827D #4B1D82 #821D21
square
#54821D #1D827D #4B1D82 #821D21
split-complementary
#54821D #1D2182 #7D1D82
monochromatic
#131E07 #345012 #54821D #74B428 #93D544

Accessibility & contrast

On white

4.58
#54821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#54821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54821D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54821D#FFFFFF#000000##000000
##54821D1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887806
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#567C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54821d;
/* rgb */ color: rgb(84, 130, 29);
/* oklch */ color: oklch(55.3% 0.138 131.4);
Tailwind
colors: {
  custom: {
    50: '#88a661',
    500: '#54821d',
    950: '#000000',
  },
}
SCSS
$custom: #54821d;
$custom-light: #88a661;
$custom-dark: #000000;
JSON
{
  "hex": "#54821d",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 87.327,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.13757,
    "h": 131.4
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#54821D
secondary
#7846B5
accent
#41E78D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54821D

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

Preview Lab → · Contrast checker → · Palette generator →

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