#558C28#558C28

#558C28 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.143 H 134.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#558C28
RGBrgb(85, 140, 40)
HSLhsl(93, 56%, 35%)
HSVhsv(93, 71%, 55%)
CMYKcmyk(39.3%, 0%, 71.4%, 45.1%)
CIE-LABlab(52.77, -35.52, 45.47)
CIE-LCHlch(52.77, 57.70, 127.99°)
OKLaboklab(58.09% -0.0994 0.1031)
OKLCHoklch(58.09% 0.143 134)
XYZxyz(13.5072, 20.8400, 5.3179)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558C28 #5F288C
analogous
#878C28 #558C28 #288C2D
triadic
#558C28 #28558C #8C2855
tetradic
#558C28 #28878C #5F288C #8C2D28
square
#558C28 #28878C #5F288C #8C2D28
split-complementary
#558C28 #2D288C #8C2887
monochromatic
#1B2D0D #385C1A #558C28 #72BC36 #91D15E

Accessibility & contrast

On white

4.06
#558C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#558C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558C28
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558C28#FFFFFF#000000##000000
##558C281.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#558678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #558c28;
/* rgb */ color: rgb(85, 140, 40);
/* oklch */ color: oklch(58.1% 0.143 134.0);
Tailwind
colors: {
  custom: {
    50: '#89ae68',
    500: '#558c28',
    950: '#000000',
  },
}
SCSS
$custom: #558c28;
$custom-light: #89ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#558c28",
  "rgb": {
    "r": 85,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 93,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.14319,
    "h": 134
  },
  "luminance": 0.20841
}

Semantic roles & 50–950 ramp

primary
#558C28
secondary
#8D5AB6
accent
#49DF9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558C28

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

Preview Lab → · Contrast checker → · Palette generator →

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