#558020#558020

#558020 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.133 H 130.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#558020
RGBrgb(85, 128, 32)
HSLhsl(87, 60%, 31%)
HSVhsv(87, 75%, 50%)
CMYKcmyk(33.6%, 0%, 75%, 49.8%)
CIE-LABlab(48.85, -30.62, 44.66)
CIE-LCHlch(48.85, 54.15, 124.44°)
OKLaboklab(54.87% -0.0867 0.1002)
OKLCHoklch(54.87% 0.133 130.9)
XYZxyz(11.7261, 17.4735, 4.1211)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558020 #4B2080
analogous
#807B20 #558020 #258020
triadic
#558020 #205580 #802055
tetradic
#558020 #20807B #4B2080 #802025
square
#558020 #20807B #4B2080 #802025
split-complementary
#558020 #202580 #7B2080
monochromatic
#141E08 #344F14 #558020 #76B12C #94D149

Accessibility & contrast

On white

4.67
#558020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#558020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #558020
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558020#FFFFFF#000000##FFFFFF
##5580201.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#577A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #558020;
/* rgb */ color: rgb(85, 128, 32);
/* oklch */ color: oklch(54.9% 0.133 130.9);
Tailwind
colors: {
  custom: {
    50: '#89a562',
    500: '#558020',
    950: '#000000',
  },
}
SCSS
$custom: #558020;
$custom-light: #89a562;
$custom-dark: #000000;
JSON
{
  "hex": "#558020",
  "rgb": {
    "r": 85,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 86.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.13251,
    "h": 130.9
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

primary
#558020
secondary
#7849B3
accent
#45E38C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #558020

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

Preview Lab → · Contrast checker → · Palette generator →

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