#558D20#558D20

#558D20 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.150 H 133.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#558D20
RGBrgb(85, 141, 32)
HSLhsl(91, 63%, 34%)
HSVhsv(91, 77%, 55%)
CMYKcmyk(39.7%, 0%, 77.3%, 44.7%)
CIE-LABlab(53.04, -36.51, 48.77)
CIE-LCHlch(53.04, 60.92, 126.82°)
OKLaboklab(58.29% -0.1027 0.1088)
OKLCHoklch(58.29% 0.15 133.4)
XYZxyz(13.5317, 21.0847, 4.7230)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D20 #58208D
analogous
#8C8D20 #558D20 #208D22
triadic
#558D20 #20558D #8D2055
tetradic
#558D20 #208C8D #58208D #8D2220
square
#558D20 #208C8D #58208D #8D2220
split-complementary
#558D20 #22208D #8D208C
monochromatic
#192909 #375B15 #558D20 #73BF2B #92D750

Accessibility & contrast

On white

4.03
#558D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#558D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558D20
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558D20#FFFFFF#000000##000000
##558D201.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938107
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#558778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #558d20;
/* rgb */ color: rgb(85, 141, 32);
/* oklch */ color: oklch(58.3% 0.150 133.4);
Tailwind
colors: {
  custom: {
    50: '#8aaf64',
    500: '#558d20',
    950: '#000000',
  },
}
SCSS
$custom: #558d20;
$custom-light: #8aaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#558d20",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 90.826,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58295,
    "c": 0.14959,
    "h": 133.4
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#558D20
secondary
#864EBA
accent
#42E696
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558D20

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

Preview Lab → · Contrast checker → · Palette generator →

#558D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva