#558128#558128

#558128 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.128 H 132.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#558128
RGBrgb(85, 129, 40)
HSLhsl(90, 53%, 33%)
HSVhsv(90, 69%, 51%)
CMYKcmyk(34.1%, 0%, 69%, 49.4%)
CIE-LABlab(49.23, -30.49, 41.78)
CIE-LCHlch(49.23, 51.72, 126.12°)
OKLaboklab(55.2% -0.0857 0.0953)
OKLCHoklch(55.2% 0.128 132)
XYZxyz(11.9794, 17.7846, 4.8087)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558128 #542881
analogous
#818028 #558128 #288128
triadic
#558128 #285581 #812855
tetradic
#558128 #288180 #542881 #812828
square
#558128 #288180 #542881 #812828
split-complementary
#558128 #282881 #802881
monochromatic
#17240B #36521A #558128 #74B036 #92CB58

Accessibility & contrast

On white

4.61
#558128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#558128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #558128
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558128#FFFFFF#000000##FFFFFF
##5581281.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771C
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#567C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #558128;
/* rgb */ color: rgb(85, 129, 40);
/* oklch */ color: oklch(55.2% 0.128 132.0);
Tailwind
colors: {
  custom: {
    50: '#88a667',
    500: '#558128',
    950: '#000000',
  },
}
SCSS
$custom: #558128;
$custom-light: #88a667;
$custom-dark: #000000;
JSON
{
  "hex": "#558128",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 89.663,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.12819,
    "h": 132
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#558128
secondary
#8254B0
accent
#4CDC93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558128

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

Preview Lab → · Contrast checker → · Palette generator →

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