#558D2F#558D2F

#558D2F is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.139 H 135.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#558D2F
RGBrgb(85, 141, 47)
HSLhsl(96, 50%, 37%)
HSVhsv(96, 67%, 55%)
CMYKcmyk(39.7%, 0%, 66.7%, 44.7%)
CIE-LABlab(53.15, -35.38, 42.90)
CIE-LCHlch(53.15, 55.61, 129.51°)
OKLaboklab(58.42% -0.0985 0.0986)
OKLCHoklch(58.42% 0.139 135)
XYZxyz(13.7840, 21.1856, 6.0517)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D2F #672F8D
analogous
#848D2F #558D2F #2F8D38
triadic
#558D2F #2F558D #8D2F55
tetradic
#558D2F #2F848D #672F8D #8D382F
square
#558D2F #2F848D #672F8D #8D382F
split-complementary
#558D2F #382F8D #8D2F84
monochromatic
#1E3110 #395F20 #558D2F #71BB3E #92CD69

Accessibility & contrast

On white

4.01
#558D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#558D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558D2F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558D2F#FFFFFF#000000##000000
##558D2F1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#54887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #558d2f;
/* rgb */ color: rgb(85, 141, 47);
/* oklch */ color: oklch(58.4% 0.139 135.0);
Tailwind
colors: {
  custom: {
    50: '#89af6c',
    500: '#558d2f',
    950: '#000000',
  },
}
SCSS
$custom: #558d2f;
$custom-light: #89af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#558d2f",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 95.745,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.13936,
    "h": 135
  },
  "luminance": 0.21186
}

Semantic roles & 50–950 ramp

primary
#558D2F
secondary
#9464B4
accent
#4EDAA1
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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