#558C31#558C31

#558C31 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.136 H 135.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#558C31
RGBrgb(85, 140, 49)
HSLhsl(96, 48%, 37%)
HSVhsv(96, 65%, 55%)
CMYKcmyk(39.3%, 0%, 65%, 45.1%)
CIE-LABlab(52.85, -34.74, 41.68)
CIE-LCHlch(52.85, 54.26, 129.81°)
OKLaboklab(58.18% -0.0966 0.0963)
OKLCHoklch(58.18% 0.136 135.1)
XYZxyz(13.6785, 20.9085, 6.2202)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558C31 #68318C
analogous
#838C31 #558C31 #318C3B
triadic
#558C31 #31558C #8C3155
tetradic
#558C31 #31838C #68318C #8C3B31
square
#558C31 #31838C #68318C #8C3B31
split-complementary
#558C31 #3B318C #8C3183
monochromatic
#1E3111 #395F21 #558C31 #71B941 #92CC6C

Accessibility & contrast

On white

4.05
#558C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#558C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558C31
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558C31#FFFFFF#000000##000000
##558C311.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#548779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #558c31;
/* rgb */ color: rgb(85, 140, 49);
/* oklch */ color: oklch(58.2% 0.136 135.1);
Tailwind
colors: {
  custom: {
    50: '#89ae6d',
    500: '#558c31',
    950: '#000000',
  },
}
SCSS
$custom: #558c31;
$custom-light: #89ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#558c31",
  "rgb": {
    "r": 85,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 96.264,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.13637,
    "h": 135.1
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#558C31
secondary
#9466B3
accent
#50D8A2
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558C31

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

Preview Lab → · Contrast checker → · Palette generator →

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