#54822F#54822F

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

Color values

HEX#54822F
RGBrgb(84, 130, 47)
HSLhsl(93, 47%, 35%)
HSVhsv(93, 64%, 51%)
CMYKcmyk(35.4%, 0%, 63.8%, 49%)
CIE-LABlab(49.56, -30.71, 38.96)
CIE-LCHlch(49.56, 49.61, 128.25°)
OKLaboklab(55.48% -0.0857 0.0903)
OKLCHoklch(55.48% 0.124 133.5)
XYZxyz(12.1517, 18.0548, 5.5334)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54822F #5D2F82
analogous
#7E822F #54822F #2F8233
triadic
#54822F #2F5482 #822F54
tetradic
#54822F #2F7E82 #5D2F82 #82332F
square
#54822F #2F7E82 #5D2F82 #82332F
split-complementary
#54822F #332F82 #822F7E
monochromatic
#1A280E #37551F #54822F #71AF3F #90C764

Accessibility & contrast

On white

4.55
#54822F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54822F#FFFFFF#000000##000000
##54822F1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54822f;
/* rgb */ color: rgb(84, 130, 47);
/* oklch */ color: oklch(55.5% 0.124 133.5);
Tailwind
colors: {
  custom: {
    50: '#87a66b',
    500: '#54822f',
    950: '#000000',
  },
}
SCSS
$custom: #54822f;
$custom-light: #87a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#54822f",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 93.253,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.12445,
    "h": 133.5
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#54822F
secondary
#8B5FAE
accent
#51D79B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #54822F

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

Preview Lab → · Contrast checker → · Palette generator →

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