#558817#558817

#558817 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.9% C 0.148 H 131.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#558817
RGBrgb(85, 136, 23)
HSLhsl(87, 71%, 31%)
HSVhsv(87, 83%, 53%)
CMYKcmyk(37.5%, 0%, 83.1%, 46.7%)
CIE-LABlab(51.38, -34.79, 50.11)
CIE-LCHlch(51.38, 61.01, 124.77°)
OKLaboklab(56.92% -0.0987 0.1101)
OKLCHoklch(56.92% 0.148 131.9)
XYZxyz(12.7050, 19.6009, 3.9244)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558817 #4A1788
analogous
#888217 #558817 #1C8817
triadic
#558817 #175588 #881755
tetradic
#558817 #178882 #4A1788 #88171C
square
#558817 #178882 #4A1788 #88171C
split-complementary
#558817 #171C88 #821788
monochromatic
#141F05 #34540E #558817 #76BC20 #95DE3B

Accessibility & contrast

On white

4.27
#558817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#558817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558817
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558817#FFFFFF#000000##000000
##5588171.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#568274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #558817;
/* rgb */ color: rgb(85, 136, 23);
/* oklch */ color: oklch(56.9% 0.148 131.9);
Tailwind
colors: {
  custom: {
    50: '#8aab5f',
    500: '#558817',
    950: '#000000',
  },
}
SCSS
$custom: #558817;
$custom-light: #8aab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#558817",
  "rgb": {
    "r": 85,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 87.08,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56924,
    "c": 0.14788,
    "h": 131.9
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#558817
secondary
#773FBC
accent
#3AEE8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #558817

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

Preview Lab → · Contrast checker → · Palette generator →

#558817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva