#558F21#558F21

#558F21 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.152 H 133.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#558F21
RGBrgb(85, 143, 33)
HSLhsl(92, 63%, 35%)
HSVhsv(92, 77%, 56%)
CMYKcmyk(40.6%, 0%, 76.9%, 43.9%)
CIE-LABlab(53.69, -37.33, 49.04)
CIE-LCHlch(53.69, 61.63, 127.27°)
OKLaboklab(58.83% -0.1048 0.1095)
OKLCHoklch(58.83% 0.152 133.8)
XYZxyz(13.8430, 21.6853, 4.8948)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558F21 #5B218F
analogous
#8C8F21 #558F21 #218F24
triadic
#558F21 #21558F #8F2155
tetradic
#558F21 #218C8F #5B218F #8F2421
square
#558F21 #218C8F #5B218F #8F2421
split-complementary
#558F21 #24218F #8F218C
monochromatic
#1A2C0A #375D16 #558F21 #73C12C #92D753

Accessibility & contrast

On white

3.93
#558F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#558F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558F21
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558F21#FFFFFF#000000##000000
##558F211.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958308
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#55897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #558f21;
/* rgb */ color: rgb(85, 143, 33);
/* oklch */ color: oklch(58.8% 0.152 133.8);
Tailwind
colors: {
  custom: {
    50: '#8ab065',
    500: '#558f21',
    950: '#000000',
  },
}
SCSS
$custom: #558f21;
$custom-light: #8ab065;
$custom-dark: #000000;
JSON
{
  "hex": "#558f21",
  "rgb": {
    "r": 85,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 91.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58829,
    "c": 0.15159,
    "h": 133.8
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

primary
#558F21
secondary
#8951BB
accent
#42E698
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558F21

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

Preview Lab → · Contrast checker → · Palette generator →

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