#558918#558918

#558918 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.149 H 132.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#558918
RGBrgb(85, 137, 24)
HSLhsl(88, 70%, 32%)
HSVhsv(88, 82%, 54%)
CMYKcmyk(38%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.71, -35.19, 50.12)
CIE-LCHlch(51.71, 61.24, 125.08°)
OKLaboklab(57.19% -0.0997 0.1103)
OKLCHoklch(57.19% 0.149 132.1)
XYZxyz(12.8567, 19.8880, 4.0253)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558918 #4C1889
analogous
#898518 #558918 #1C8918
triadic
#558918 #185589 #891855
tetradic
#558918 #188985 #4C1889 #89181C
square
#558918 #188985 #4C1889 #89181C
split-complementary
#558918 #181C89 #851889
monochromatic
#142106 #35550F #558918 #75BD21 #94DD3E

Accessibility & contrast

On white

4.22
#558918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#558918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558918
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558918#FFFFFF#000000##000000
##5589181.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#568374
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #558918;
/* rgb */ color: rgb(85, 137, 24);
/* oklch */ color: oklch(57.2% 0.149 132.1);
Tailwind
colors: {
  custom: {
    50: '#8aac60',
    500: '#558918',
    950: '#000000',
  },
}
SCSS
$custom: #558918;
$custom-light: #8aac60;
$custom-dark: #000000;
JSON
{
  "hex": "#558918",
  "rgb": {
    "r": 85,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 87.611,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.14868,
    "h": 132.1
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#558918
secondary
#7940BD
accent
#3BED8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #558918

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

Preview Lab → · Contrast checker → · Palette generator →

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