#558228#558228

#558228 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.5% C 0.130 H 132.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#558228
RGBrgb(85, 130, 40)
HSLhsl(90, 53%, 33%)
HSVhsv(90, 69%, 51%)
CMYKcmyk(34.6%, 0%, 69.2%, 49%)
CIE-LABlab(49.56, -30.96, 42.12)
CIE-LCHlch(49.56, 52.27, 126.32°)
OKLaboklab(55.47% -0.087 0.096)
OKLCHoklch(55.47% 0.13 132.2)
XYZxyz(12.1118, 18.0493, 4.8528)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558228 #552882
analogous
#828228 #558228 #288228
triadic
#558228 #285582 #822855
tetradic
#558228 #288282 #552882 #822828
square
#558228 #288282 #552882 #822828
split-complementary
#558228 #282882 #822882
monochromatic
#18240B #36531A #558228 #74B136 #92CC59

Accessibility & contrast

On white

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

On black

4.61
#558228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558228
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558228#FFFFFF#000000##000000
##5582281.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#817530
Tritanopia (blue-blind)
#567D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #558228;
/* rgb */ color: rgb(85, 130, 40);
/* oklch */ color: oklch(55.5% 0.130 132.2);
Tailwind
colors: {
  custom: {
    50: '#88a667',
    500: '#558228',
    950: '#000000',
  },
}
SCSS
$custom: #558228;
$custom-light: #88a667;
$custom-dark: #000000;
JSON
{
  "hex": "#558228",
  "rgb": {
    "r": 85,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 90,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.12958,
    "h": 132.2
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#558228
secondary
#8355B1
accent
#4BDC94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #558228

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

Preview Lab → · Contrast checker → · Palette generator →

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