#558518#558518

#558518 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.144 H 131.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#558518
RGBrgb(85, 133, 24)
HSLhsl(86, 69%, 31%)
HSVhsv(86, 82%, 52%)
CMYKcmyk(36.1%, 0%, 82%, 47.8%)
CIE-LABlab(50.42, -33.39, 48.93)
CIE-LCHlch(50.42, 59.24, 124.31°)
OKLaboklab(56.14% -0.0948 0.1078)
OKLCHoklch(56.14% 0.144 131.3)
XYZxyz(12.2986, 18.7718, 3.8393)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558518 #481885
analogous
#857E18 #558518 #1E8518
triadic
#558518 #185585 #851855
tetradic
#558518 #18857E #481885 #85181E
square
#558518 #18857E #481885 #85181E
split-complementary
#558518 #181E85 #7E1885
monochromatic
#131D05 #34510F #558518 #76B921 #95DC3C

Accessibility & contrast

On white

4.42
#558518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#558518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558518
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558518#FFFFFF#000000##000000
##5585181.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#577F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #558518;
/* rgb */ color: rgb(85, 133, 24);
/* oklch */ color: oklch(56.1% 0.144 131.3);
Tailwind
colors: {
  custom: {
    50: '#89a95f',
    500: '#558518',
    950: '#000000',
  },
}
SCSS
$custom: #558518;
$custom-light: #89a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#558518",
  "rgb": {
    "r": 85,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 86.422,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.1436,
    "h": 131.3
  },
  "luminance": 0.18772
}

Semantic roles & 50–950 ramp

primary
#558518
secondary
#7540B9
accent
#3CEC89
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #558518

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

Preview Lab → · Contrast checker → · Palette generator →

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