#558522#558522

#558522 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.2% C 0.138 H 132.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#558522
RGBrgb(85, 133, 34)
HSLhsl(89, 59%, 33%)
HSVhsv(89, 74%, 52%)
CMYKcmyk(36.1%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.48, -32.80, 45.51)
CIE-LCHlch(50.48, 56.10, 125.78°)
OKLaboklab(56.2% -0.0925 0.1022)
OKLCHoklch(56.2% 0.138 132.1)
XYZxyz(12.4224, 18.8213, 4.4914)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558522 #522285
analogous
#858322 #558522 #248522
triadic
#558522 #225585 #852255
tetradic
#558522 #228583 #522285 #852224
square
#558522 #228583 #522285 #852224
split-complementary
#558522 #222485 #832285
monochromatic
#172409 #365416 #558522 #74B62E #93D24F

Accessibility & contrast

On white

4.41
#558522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#558522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558522
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558522#FFFFFF#000000##000000
##5585221.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#567F72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #558522;
/* rgb */ color: rgb(85, 133, 34);
/* oklch */ color: oklch(56.2% 0.138 132.1);
Tailwind
colors: {
  custom: {
    50: '#89a964',
    500: '#558522',
    950: '#000000',
  },
}
SCSS
$custom: #558522;
$custom-light: #89a964;
$custom-dark: #000000;
JSON
{
  "hex": "#558522",
  "rgb": {
    "r": 85,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 89.091,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56204,
    "c": 0.13788,
    "h": 132.1
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#558522
secondary
#804DB6
accent
#45E292
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558522

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

Preview Lab → · Contrast checker → · Palette generator →

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