#558D18#558D18

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

Color values

HEX#558D18
RGBrgb(85, 141, 24)
HSLhsl(89, 71%, 32%)
HSVhsv(89, 83%, 55%)
CMYKcmyk(39.7%, 0%, 83%, 44.7%)
CIE-LABlab(53.00, -36.95, 51.29)
CIE-LCHlch(53.00, 63.22, 125.77°)
OKLaboklab(58.25% -0.1044 0.1128)
OKLCHoklch(58.25% 0.154 132.8)
XYZxyz(13.4359, 21.0464, 4.2184)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D18 #50188D
analogous
#8D8B18 #558D18 #1B8D18
triadic
#558D18 #18558D #8D1855
tetradic
#558D18 #188D8B #50188D #8D181B
square
#558D18 #188D8B #50188D #8D181B
split-complementary
#558D18 #181B8D #8B188D
monochromatic
#162406 #35590F #558D18 #75C121 #93DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##558D18#FFFFFF#000000##000000
##558D181.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)
#8C7D26
Tritanopia (blue-blind)
#568778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #558d18;
/* rgb */ color: rgb(85, 141, 24);
/* oklch */ color: oklch(58.2% 0.154 132.8);
Tailwind
colors: {
  custom: {
    50: '#8aaf61',
    500: '#558d18',
    950: '#000000',
  },
}
SCSS
$custom: #558d18;
$custom-light: #8aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#558d18",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 88.718,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58248,
    "c": 0.15371,
    "h": 132.8
  },
  "luminance": 0.21047
}

Semantic roles & 50–950 ramp

primary
#558D18
secondary
#7E42BF
accent
#3AEE90
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #558D18

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

Preview Lab → · Contrast checker → · Palette generator →

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