#558221#558221

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

Color values

HEX#558221
RGBrgb(85, 130, 33)
HSLhsl(88, 60%, 32%)
HSVhsv(88, 75%, 51%)
CMYKcmyk(34.6%, 0%, 74.6%, 49%)
CIE-LABlab(49.50, -31.49, 44.93)
CIE-LCHlch(49.50, 54.86, 125.02°)
OKLaboklab(55.41% -0.089 0.1009)
OKLCHoklch(55.41% 0.135 131.4)
XYZxyz(12.0033, 18.0059, 4.2816)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558221 #4E2182
analogous
#827F21 #558221 #258221
triadic
#558221 #215582 #822155
tetradic
#558221 #21827F #4E2182 #822125
square
#558221 #21827F #4E2182 #822125
split-complementary
#558221 #212582 #7F2182
monochromatic
#152008 #355115 #558221 #75B32D #94D24C

Accessibility & contrast

On white

4.56
#558221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#558221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##558221#FFFFFF#000000##000000
##5582211.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)
#88780F
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#577C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #558221;
/* rgb */ color: rgb(85, 130, 33);
/* oklch */ color: oklch(55.4% 0.135 131.4);
Tailwind
colors: {
  custom: {
    50: '#89a663',
    500: '#558221',
    950: '#000000',
  },
}
SCSS
$custom: #558221;
$custom-light: #89a663;
$custom-dark: #000000;
JSON
{
  "hex": "#558221",
  "rgb": {
    "r": 85,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 87.835,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55407,
    "c": 0.13453,
    "h": 131.4
  },
  "luminance": 0.18006
}

Semantic roles & 50–950 ramp

primary
#558221
secondary
#7C4AB4
accent
#45E38E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558221

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

Preview Lab → · Contrast checker → · Palette generator →

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