#558122#558122

#558122 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.2% C 0.133 H 131.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#558122
RGBrgb(85, 129, 34)
HSLhsl(88, 58%, 32%)
HSVhsv(88, 74%, 51%)
CMYKcmyk(34.1%, 0%, 73.6%, 49.4%)
CIE-LABlab(49.19, -30.95, 44.22)
CIE-LCHlch(49.19, 53.98, 124.99°)
OKLaboklab(55.15% -0.0875 0.0996)
OKLCHoklch(55.15% 0.133 131.3)
XYZxyz(11.8852, 17.7469, 4.3123)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558122 #4E2281
analogous
#817D22 #558122 #268122
triadic
#558122 #225581 #812255
tetradic
#558122 #22817D #4E2281 #812226
square
#558122 #22817D #4E2281 #812226
split-complementary
#558122 #222681 #7D2281
monochromatic
#152008 #355115 #558122 #75B12F #94D04D

Accessibility & contrast

On white

4.62
#558122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#558122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #558122
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558122#FFFFFF#000000##FFFFFF
##5581221.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#577B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #558122;
/* rgb */ color: rgb(85, 129, 34);
/* oklch */ color: oklch(55.2% 0.133 131.3);
Tailwind
colors: {
  custom: {
    50: '#89a664',
    500: '#558122',
    950: '#000000',
  },
}
SCSS
$custom: #558122;
$custom-light: #89a664;
$custom-dark: #000000;
JSON
{
  "hex": "#558122",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 87.789,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.13253,
    "h": 131.3
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#558122
secondary
#7C4BB3
accent
#46E18E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558122

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

Preview Lab → · Contrast checker → · Palette generator →

#558122 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva