#548221#548221

#548221 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.135 H 131.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#548221
RGBrgb(84, 130, 33)
HSLhsl(88, 60%, 32%)
HSVhsv(88, 75%, 51%)
CMYKcmyk(35.4%, 0%, 74.6%, 49%)
CIE-LABlab(49.45, -31.87, 44.85)
CIE-LCHlch(49.45, 55.02, 125.40°)
OKLaboklab(55.35% -0.09 0.1007)
OKLCHoklch(55.35% 0.135 131.8)
XYZxyz(11.9132, 17.9594, 4.2774)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548221 #4F2182
analogous
#828021 #548221 #238221
triadic
#548221 #215482 #822154
tetradic
#548221 #218280 #4F2182 #822123
square
#548221 #218280 #4F2182 #822123
split-complementary
#548221 #212382 #802182
monochromatic
#152008 #345115 #548221 #74B32D #92D24C

Accessibility & contrast

On white

4.57
#548221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#548221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##548221#FFFFFF#000000##000000
##5482211.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #548221;
/* rgb */ color: rgb(84, 130, 33);
/* oklch */ color: oklch(55.3% 0.135 131.8);
Tailwind
colors: {
  custom: {
    50: '#88a663',
    500: '#548221',
    950: '#000000',
  },
}
SCSS
$custom: #548221;
$custom-light: #88a663;
$custom-dark: #000000;
JSON
{
  "hex": "#548221",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 88.454,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.13508,
    "h": 131.8
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

primary
#548221
secondary
#7D4AB4
accent
#45E390
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548221

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

Preview Lab → · Contrast checker → · Palette generator →

#548221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva