#558B18#558B18

#558B18 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.151 H 132.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#558B18
RGBrgb(85, 139, 24)
HSLhsl(88, 71%, 32%)
HSVhsv(88, 83%, 55%)
CMYKcmyk(38.8%, 0%, 82.7%, 45.5%)
CIE-LABlab(52.36, -36.08, 50.70)
CIE-LCHlch(52.36, 62.23, 125.43°)
OKLaboklab(57.72% -0.1021 0.1116)
OKLCHoklch(57.72% 0.151 132.5)
XYZxyz(13.1436, 20.4619, 4.1210)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B18 #4E188B
analogous
#8B8818 #558B18 #1C8B18
triadic
#558B18 #18558B #8B1855
tetradic
#558B18 #188B88 #4E188B #8B181C
square
#558B18 #188B88 #4E188B #8B181C
split-complementary
#558B18 #181C8B #88188B
monochromatic
#152306 #35570F #558B18 #75BF21 #94DE3F

Accessibility & contrast

On white

4.12
#558B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#558B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558B18
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558B18#FFFFFF#000000##000000
##558B181.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#568576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b18;
/* rgb */ color: rgb(85, 139, 24);
/* oklch */ color: oklch(57.7% 0.151 132.5);
Tailwind
colors: {
  custom: {
    50: '#8aad60',
    500: '#558b18',
    950: '#000000',
  },
}
SCSS
$custom: #558b18;
$custom-light: #8aad60;
$custom-dark: #000000;
JSON
{
  "hex": "#558b18",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 88.174,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.1512,
    "h": 132.5
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#558B18
secondary
#7C40BE
accent
#3AED8E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #558B18

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

Preview Lab → · Contrast checker → · Palette generator →

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