#54822B#54822B

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

Color values

HEX#54822B
RGBrgb(84, 130, 43)
HSLhsl(92, 50%, 34%)
HSVhsv(92, 67%, 51%)
CMYKcmyk(35.4%, 0%, 66.9%, 49%)
CIE-LABlab(49.53, -31.08, 40.75)
CIE-LCHlch(49.53, 51.25, 127.34°)
OKLaboklab(55.44% -0.087 0.0936)
OKLCHoklch(55.44% 0.128 132.9)
XYZxyz(12.0746, 18.0240, 5.1278)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54822B #592B82
analogous
#80822B #54822B #2B822E
triadic
#54822B #2B5482 #822B54
tetradic
#54822B #2B8082 #592B82 #822E2B
square
#54822B #2B8082 #592B82 #822E2B
split-complementary
#54822B #2E2B82 #822B80
monochromatic
#19260D #36541C #54822B #72B03A #91CA5E

Accessibility & contrast

On white

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

On black

4.60
#54822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54822B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54822B#FFFFFF#000000##000000
##54822B1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877820
Deuteranopia (green-blind)
#817432
Tritanopia (blue-blind)
#557D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #54822b;
/* rgb */ color: rgb(84, 130, 43);
/* oklch */ color: oklch(55.4% 0.128 132.9);
Tailwind
colors: {
  custom: {
    50: '#88a669',
    500: '#54822b',
    950: '#000000',
  },
}
SCSS
$custom: #54822b;
$custom-light: #88a669;
$custom-dark: #000000;
JSON
{
  "hex": "#54822b",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 91.724,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.12778,
    "h": 132.9
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#54822B
secondary
#8759B0
accent
#4EDA98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #54822B

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

Preview Lab → · Contrast checker → · Palette generator →

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