#54822D#54822D

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

Color values

HEX#54822D
RGBrgb(84, 130, 45)
HSLhsl(92, 49%, 34%)
HSVhsv(92, 65%, 51%)
CMYKcmyk(35.4%, 0%, 65.4%, 49%)
CIE-LABlab(49.54, -30.90, 39.86)
CIE-LCHlch(49.54, 50.44, 127.78°)
OKLaboklab(55.46% -0.0863 0.092)
OKLCHoklch(55.46% 0.126 133.2)
XYZxyz(12.1122, 18.0391, 5.3258)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54822D #5B2D82
analogous
#7F822D #54822D #2D8231
triadic
#54822D #2D5482 #822D54
tetradic
#54822D #2D7F82 #5B2D82 #82312D
square
#54822D #2D7F82 #5B2D82 #82312D
split-complementary
#54822D #312D82 #822D7F
monochromatic
#19270E #37551D #54822D #71AF3D #90C861

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54822D#FFFFFF#000000##000000
##54822D1.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)
#877823
Deuteranopia (green-blind)
#817434
Tritanopia (blue-blind)
#547D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #54822d;
/* rgb */ color: rgb(84, 130, 45);
/* oklch */ color: oklch(55.5% 0.126 133.2);
Tailwind
colors: {
  custom: {
    50: '#87a66a',
    500: '#54822d',
    950: '#000000',
  },
}
SCSS
$custom: #54822d;
$custom-light: #87a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#54822d",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 92.471,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.12615,
    "h": 133.2
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#54822D
secondary
#895CAF
accent
#50D89A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #54822D

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

Preview Lab → · Contrast checker → · Palette generator →

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