#558222#558222

#558222 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.134 H 131.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#558222
RGBrgb(85, 130, 34)
HSLhsl(88, 59%, 32%)
HSVhsv(88, 74%, 51%)
CMYKcmyk(34.6%, 0%, 73.8%, 49%)
CIE-LABlab(49.51, -31.42, 44.54)
CIE-LCHlch(49.51, 54.51, 125.19°)
OKLaboklab(55.42% -0.0887 0.1002)
OKLCHoklch(55.42% 0.134 131.5)
XYZxyz(12.0176, 18.0116, 4.3565)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558222 #4F2282
analogous
#827F22 #558222 #258222
triadic
#558222 #225582 #822255
tetradic
#558222 #22827F #4F2282 #822225
square
#558222 #22827F #4F2282 #822225
split-complementary
#558222 #222582 #7F2282
monochromatic
#162109 #355115 #558222 #75B32F #93D14E

Accessibility & contrast

On white

4.56
#558222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#558222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558222
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558222#FFFFFF#000000##000000
##5582221.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#567C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #558222;
/* rgb */ color: rgb(85, 130, 34);
/* oklch */ color: oklch(55.4% 0.134 131.5);
Tailwind
colors: {
  custom: {
    50: '#89a664',
    500: '#558222',
    950: '#000000',
  },
}
SCSS
$custom: #558222;
$custom-light: #89a664;
$custom-dark: #000000;
JSON
{
  "hex": "#558222",
  "rgb": {
    "r": 85,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 88.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.13388,
    "h": 131.5
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#558222
secondary
#7D4CB4
accent
#46E28F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558222

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

Preview Lab → · Contrast checker → · Palette generator →

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