#54822C#54822C

#54822C is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.127 H 133.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#54822C
RGBrgb(84, 130, 44)
HSLhsl(92, 49%, 34%)
HSVhsv(92, 66%, 51%)
CMYKcmyk(35.4%, 0%, 66.2%, 49%)
CIE-LABlab(49.53, -30.99, 40.31)
CIE-LCHlch(49.53, 50.85, 127.56°)
OKLaboklab(55.45% -0.0867 0.0928)
OKLCHoklch(55.45% 0.127 133.1)
XYZxyz(12.0932, 18.0314, 5.2256)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54822C #5A2C82
analogous
#7F822C #54822C #2C822F
triadic
#54822C #2C5482 #822C54
tetradic
#54822C #2C7F82 #5A2C82 #822F2C
square
#54822C #2C7F82 #5A2C82 #822F2C
split-complementary
#54822C #2F2C82 #822C7F
monochromatic
#19270D #36541D #54822C #72B03B #91C95F

Accessibility & contrast

On white

4.56
#54822C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#54822C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54822C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54822C#FFFFFF#000000##000000
##54822C1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#817433
Tritanopia (blue-blind)
#547D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #54822c;
/* rgb */ color: rgb(84, 130, 44);
/* oklch */ color: oklch(55.4% 0.127 133.1);
Tailwind
colors: {
  custom: {
    50: '#88a669',
    500: '#54822c',
    950: '#000000',
  },
}
SCSS
$custom: #54822c;
$custom-light: #88a669;
$custom-dark: #000000;
JSON
{
  "hex": "#54822c",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 92.093,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.12697,
    "h": 133.1
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#54822C
secondary
#885BAF
accent
#4FD999
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #54822C

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

Preview Lab → · Contrast checker → · Palette generator →

#54822C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva