#558D31#558D31

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

Color values

HEX#558D31
RGBrgb(85, 141, 49)
HSLhsl(97, 48%, 37%)
HSVhsv(97, 65%, 55%)
CMYKcmyk(39.7%, 0%, 65.2%, 44.7%)
CIE-LABlab(53.17, -35.19, 42.03)
CIE-LCHlch(53.17, 54.82, 129.94°)
OKLaboklab(58.44% -0.0978 0.097)
OKLCHoklch(58.44% 0.138 135.2)
XYZxyz(13.8253, 21.2021, 6.2691)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558D31 #69318D
analogous
#838D31 #558D31 #318D3B
triadic
#558D31 #31558D #8D3155
tetradic
#558D31 #31838D #69318D #8D3B31
square
#558D31 #31838D #69318D #8D3B31
split-complementary
#558D31 #3B318D #8D3183
monochromatic
#1E3211 #3A6021 #558D31 #70BA41 #92CC6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##558D31#FFFFFF#000000##000000
##558D311.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)
#928226
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#54887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #558d31;
/* rgb */ color: rgb(85, 141, 49);
/* oklch */ color: oklch(58.4% 0.138 135.2);
Tailwind
colors: {
  custom: {
    50: '#89af6d',
    500: '#558d31',
    950: '#000000',
  },
}
SCSS
$custom: #558d31;
$custom-light: #89af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#558d31",
  "rgb": {
    "r": 85,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 96.522,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.13777,
    "h": 135.2
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#558D31
secondary
#9566B4
accent
#50D8A3
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558D31

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

Preview Lab → · Contrast checker → · Palette generator →

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