#558D27#558D27

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

Color values

HEX#558D27
RGBrgb(85, 141, 39)
HSLhsl(93, 57%, 35%)
HSVhsv(93, 72%, 55%)
CMYKcmyk(39.7%, 0%, 72.3%, 44.7%)
CIE-LABlab(53.09, -36.04, 46.19)
CIE-LCHlch(53.09, 58.59, 127.96°)
OKLaboklab(58.35% -0.1009 0.1044)
OKLCHoklch(58.35% 0.145 134)
XYZxyz(13.6371, 21.1269, 5.2784)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D27 #5F278D
analogous
#888D27 #558D27 #278D2C
triadic
#558D27 #27558D #8D2755
tetradic
#558D27 #27888D #5F278D #8D2C27
square
#558D27 #27888D #5F278D #8D2C27
split-complementary
#558D27 #2C278D #8D2788
monochromatic
#1B2D0C #385D1A #558D27 #72BD34 #91D25C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##558D27#FFFFFF#000000##000000
##558D271.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)
#938216
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#558779
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #558d27;
/* rgb */ color: rgb(85, 141, 39);
/* oklch */ color: oklch(58.3% 0.145 134.0);
Tailwind
colors: {
  custom: {
    50: '#8aaf68',
    500: '#558d27',
    950: '#000000',
  },
}
SCSS
$custom: #558d27;
$custom-light: #8aaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#558d27",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 92.941,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.1452,
    "h": 134
  },
  "luminance": 0.21128
}

Semantic roles & 50–950 ramp

primary
#558D27
secondary
#8D59B7
accent
#48E09B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558D27

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

Preview Lab → · Contrast checker → · Palette generator →

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