#558F1F#558F1F

#558F1F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.153 H 133.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#558F1F
RGBrgb(85, 143, 31)
HSLhsl(91, 64%, 34%)
HSVhsv(91, 78%, 56%)
CMYKcmyk(40.6%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.68, -37.45, 49.72)
CIE-LCHlch(53.68, 62.25, 126.98°)
OKLaboklab(58.82% -0.1053 0.1106)
OKLCHoklch(58.82% 0.153 133.6)
XYZxyz(13.8159, 21.6745, 4.7517)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558F1F #591F8F
analogous
#8D8F1F #558F1F #1F8F21
triadic
#558F1F #1F558F #8F1F55
tetradic
#558F1F #1F8D8F #591F8F #8F211F
square
#558F1F #1F8D8F #591F8F #8F211F
split-complementary
#558F1F #211F8F #8F1F8D
monochromatic
#192A09 #375D14 #558F1F #73C12A #92D94F

Accessibility & contrast

On white

3.94
#558F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#558F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558F1F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558F1F#FFFFFF#000000##000000
##558F1F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#55897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #558f1f;
/* rgb */ color: rgb(85, 143, 31);
/* oklch */ color: oklch(58.8% 0.153 133.6);
Tailwind
colors: {
  custom: {
    50: '#8ab064',
    500: '#558f1f',
    950: '#000000',
  },
}
SCSS
$custom: #558f1f;
$custom-light: #8ab064;
$custom-dark: #000000;
JSON
{
  "hex": "#558f1f",
  "rgb": {
    "r": 85,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 91.071,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58815,
    "c": 0.15272,
    "h": 133.6
  },
  "luminance": 0.21675
}

Semantic roles & 50–950 ramp

primary
#558F1F
secondary
#874EBC
accent
#40E797
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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