#558D1F#558D1F

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

Color values

HEX#558D1F
RGBrgb(85, 141, 31)
HSLhsl(91, 64%, 34%)
HSVhsv(91, 78%, 55%)
CMYKcmyk(39.7%, 0%, 78%, 44.7%)
CIE-LABlab(53.04, -36.58, 49.11)
CIE-LCHlch(53.04, 61.23, 126.68°)
OKLaboklab(58.29% -0.1029 0.1093)
OKLCHoklch(58.29% 0.15 133.3)
XYZxyz(13.5183, 21.0793, 4.6525)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D1F #571F8D
analogous
#8C8D1F #558D1F #1F8D20
triadic
#558D1F #1F558D #8D1F55
tetradic
#558D1F #1F8C8D #571F8D #8D201F
square
#558D1F #1F8C8D #571F8D #8D201F
split-complementary
#558D1F #201F8D #8D1F8C
monochromatic
#192909 #375B14 #558D1F #73BF2A #92D84E

Accessibility & contrast

On white

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

On black

5.22
#558D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558D1F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558D1F#FFFFFF#000000##000000
##558D1F1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #558d1f;
/* rgb */ color: rgb(85, 141, 31);
/* oklch */ color: oklch(58.3% 0.150 133.3);
Tailwind
colors: {
  custom: {
    50: '#8aaf64',
    500: '#558d1f',
    950: '#000000',
  },
}
SCSS
$custom: #558d1f;
$custom-light: #8aaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#558d1f",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 90.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.15016,
    "h": 133.3
  },
  "luminance": 0.2108
}

Semantic roles & 50–950 ramp

primary
#558D1F
secondary
#854DBB
accent
#41E795
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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