#558D1B#558D1B

#558D1B is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.152 H 133.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#558D1B
RGBrgb(85, 141, 27)
HSLhsl(89, 68%, 33%)
HSVhsv(89, 81%, 55%)
CMYKcmyk(39.7%, 0%, 80.9%, 44.7%)
CIE-LABlab(53.01, -36.80, 50.40)
CIE-LCHlch(53.01, 62.41, 126.14°)
OKLaboklab(58.26% -0.1038 0.1114)
OKLCHoklch(58.26% 0.152 133)
XYZxyz(13.4688, 21.0595, 4.3919)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D1B #531B8D
analogous
#8D8C1B #558D1B #1C8D1B
triadic
#558D1B #1B558D #8D1B55
tetradic
#558D1B #1B8D8C #531B8D #8D1B1C
square
#558D1B #1B8D8C #531B8D #8D1B1C
split-complementary
#558D1B #1B1C8D #8C1B8D
monochromatic
#172607 #365A11 #558D1B #74C025 #93DC47

Accessibility & contrast

On white

4.03
#558D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#558D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558D1B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558D1B#FFFFFF#000000##000000
##558D1B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#558778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #558d1b;
/* rgb */ color: rgb(85, 141, 27);
/* oklch */ color: oklch(58.3% 0.152 133.0);
Tailwind
colors: {
  custom: {
    50: '#8aaf62',
    500: '#558d1b',
    950: '#000000',
  },
}
SCSS
$custom: #558d1b;
$custom-light: #8aaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#558d1b",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 89.474,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.15228,
    "h": 133
  },
  "luminance": 0.2106
}

Semantic roles & 50–950 ramp

primary
#558D1B
secondary
#8146BD
accent
#3DEB92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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