#558B21#558B21

#558B21 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.146 H 133.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#558B21
RGBrgb(85, 139, 33)
HSLhsl(91, 62%, 34%)
HSVhsv(91, 76%, 55%)
CMYKcmyk(38.8%, 0%, 76.3%, 45.5%)
CIE-LABlab(52.40, -35.57, 47.79)
CIE-LCHlch(52.40, 59.57, 126.66°)
OKLaboklab(57.78% -0.1001 0.1069)
OKLCHoklch(57.78% 0.146 133.1)
XYZxyz(13.2532, 20.5057, 4.6982)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B21 #57218B
analogous
#8A8B21 #558B21 #218B22
triadic
#558B21 #21558B #8B2155
tetradic
#558B21 #218A8B #57218B #8B2221
square
#558B21 #218A8B #57218B #8B2221
split-complementary
#558B21 #22218B #8B218A
monochromatic
#19280A #375A15 #558B21 #73BC2D #92D651

Accessibility & contrast

On white

4.12
#558B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#558B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558B21
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558B21#FFFFFF#000000##000000
##558B211.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800B
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#558577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b21;
/* rgb */ color: rgb(85, 139, 33);
/* oklch */ color: oklch(57.8% 0.146 133.1);
Tailwind
colors: {
  custom: {
    50: '#8aad64',
    500: '#558b21',
    950: '#000000',
  },
}
SCSS
$custom: #558b21;
$custom-light: #8aad64;
$custom-dark: #000000;
JSON
{
  "hex": "#558b21",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 90.566,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.14641,
    "h": 133.1
  },
  "luminance": 0.20506
}

Semantic roles & 50–950 ramp

primary
#558B21
secondary
#854FB9
accent
#43E595
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558B21

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

Preview Lab → · Contrast checker → · Palette generator →

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