#558D17#558D17

#558D17 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.154 H 132.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#558D17
RGBrgb(85, 141, 23)
HSLhsl(88, 72%, 32%)
HSVhsv(88, 84%, 55%)
CMYKcmyk(39.7%, 0%, 83.7%, 44.7%)
CIE-LABlab(53.00, -37.00, 51.57)
CIE-LCHlch(53.00, 63.47, 125.66°)
OKLaboklab(58.24% -0.1046 0.1132)
OKLCHoklch(58.24% 0.154 132.7)
XYZxyz(13.4257, 21.0423, 4.1646)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D17 #4F178D
analogous
#8D8A17 #558D17 #1A8D17
triadic
#558D17 #17558D #8D1755
tetradic
#558D17 #178D8A #4F178D #8D171A
square
#558D17 #178D8A #4F178D #8D171A
split-complementary
#558D17 #171A8D #8A178D
monochromatic
#162406 #35580E #558D17 #75C220 #93E03F

Accessibility & contrast

On white

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

On black

5.21
#558D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558D17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558D17#FFFFFF#000000##000000
##558D171.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#568778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #558d17;
/* rgb */ color: rgb(85, 141, 23);
/* oklch */ color: oklch(58.2% 0.154 132.7);
Tailwind
colors: {
  custom: {
    50: '#8aaf60',
    500: '#558d17',
    950: '#000000',
  },
}
SCSS
$custom: #558d17;
$custom-light: #8aaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#558d17",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 88.475,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58243,
    "c": 0.15416,
    "h": 132.7
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#558D17
secondary
#7D40C0
accent
#39EF8F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #558D17

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

Preview Lab → · Contrast checker → · Palette generator →

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