#558C17#558C17

#558C17 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.153 H 132.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#558C17
RGBrgb(85, 140, 23)
HSLhsl(88, 72%, 32%)
HSVhsv(88, 84%, 55%)
CMYKcmyk(39.3%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.67, -36.56, 51.28)
CIE-LCHlch(52.67, 62.98, 125.49°)
OKLaboklab(57.98% -0.1034 0.1126)
OKLCHoklch(57.98% 0.153 132.6)
XYZxyz(13.2789, 20.7487, 4.1157)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558C17 #4E178C
analogous
#8C8917 #558C17 #1B8C17
triadic
#558C17 #17558C #8C1755
tetradic
#558C17 #178C89 #4E178C #8C171B
square
#558C17 #178C89 #4E178C #8C171B
split-complementary
#558C17 #171B8C #89178C
monochromatic
#152306 #35570E #558C17 #75C120 #94DF3E

Accessibility & contrast

On white

4.08
#558C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#558C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558C17
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558C17#FFFFFF#000000##000000
##558C171.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#568677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #558c17;
/* rgb */ color: rgb(85, 140, 23);
/* oklch */ color: oklch(58.0% 0.153 132.6);
Tailwind
colors: {
  custom: {
    50: '#8aae60',
    500: '#558c17',
    950: '#000000',
  },
}
SCSS
$custom: #558c17;
$custom-light: #8aae60;
$custom-dark: #000000;
JSON
{
  "hex": "#558c17",
  "rgb": {
    "r": 85,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 88.205,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.15291,
    "h": 132.6
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#558C17
secondary
#7C3FBF
accent
#39EF8E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #558C17

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

Preview Lab → · Contrast checker → · Palette generator →

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