#558D28#558D28

#558D28 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.4% C 0.145 H 134.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#558D28
RGBrgb(85, 141, 40)
HSLhsl(93, 56%, 35%)
HSVhsv(93, 72%, 55%)
CMYKcmyk(39.7%, 0%, 71.6%, 44.7%)
CIE-LABlab(53.10, -35.96, 45.80)
CIE-LCHlch(53.10, 58.23, 128.14°)
OKLaboklab(58.36% -0.1006 0.1038)
OKLCHoklch(58.36% 0.145 134.1)
XYZxyz(13.6539, 21.1336, 5.3668)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D28 #60288D
analogous
#878D28 #558D28 #288D2D
triadic
#558D28 #28558D #8D2855
tetradic
#558D28 #28878D #60288D #8D2D28
square
#558D28 #28878D #60288D #8D2D28
split-complementary
#558D28 #2D288D #8D2887
monochromatic
#1C2E0D #385D1A #558D28 #72BD36 #91D15E

Accessibility & contrast

On white

4.02
#558D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#558D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558D28
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558D28#FFFFFF#000000##000000
##558D281.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#558779
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #558d28;
/* rgb */ color: rgb(85, 141, 40);
/* oklch */ color: oklch(58.4% 0.145 134.1);
Tailwind
colors: {
  custom: {
    50: '#8aaf68',
    500: '#558d28',
    950: '#000000',
  },
}
SCSS
$custom: #558d28;
$custom-light: #8aaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#558d28",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 93.267,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58356,
    "c": 0.14453,
    "h": 134.1
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#558D28
secondary
#8D5AB7
accent
#49DF9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558D28

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

Preview Lab → · Contrast checker → · Palette generator →

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