#558D22#558D22

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

Color values

HEX#558D22
RGBrgb(85, 141, 34)
HSLhsl(91, 61%, 34%)
HSVhsv(91, 76%, 55%)
CMYKcmyk(39.7%, 0%, 75.9%, 44.7%)
CIE-LABlab(53.05, -36.39, 48.06)
CIE-LCHlch(53.05, 60.28, 127.13°)
OKLaboklab(58.31% -0.1022 0.1076)
OKLCHoklch(58.31% 0.148 133.5)
XYZxyz(13.5597, 21.0959, 4.8705)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D22 #5A228D
analogous
#8B8D22 #558D22 #228D25
triadic
#558D22 #22558D #8D2255
tetradic
#558D22 #228B8D #5A228D #8D2522
square
#558D22 #228B8D #5A228D #8D2522
split-complementary
#558D22 #25228D #8D228B
monochromatic
#1A2A0A #375C16 #558D22 #73BE2E #92D654

Accessibility & contrast

On white

4.02
#558D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##558D22#FFFFFF#000000##000000
##558D221.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#558778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #558d22;
/* rgb */ color: rgb(85, 141, 34);
/* oklch */ color: oklch(58.3% 0.148 133.5);
Tailwind
colors: {
  custom: {
    50: '#8aaf65',
    500: '#558d22',
    950: '#000000',
  },
}
SCSS
$custom: #558d22;
$custom-light: #8aaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#558d22",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 91.402,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58309,
    "c": 0.14841,
    "h": 133.5
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#558D22
secondary
#8851B9
accent
#44E498
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558D22

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

Preview Lab → · Contrast checker → · Palette generator →

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