#558131#558131

#558131 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.121 H 133.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#558131
RGBrgb(85, 129, 49)
HSLhsl(93, 45%, 35%)
HSVhsv(93, 62%, 51%)
CMYKcmyk(34.1%, 0%, 62%, 49.4%)
CIE-LABlab(49.32, -29.66, 37.75)
CIE-LCHlch(49.32, 48.01, 128.16°)
OKLaboklab(55.3% -0.0827 0.0879)
OKLCHoklch(55.3% 0.121 133.2)
XYZxyz(12.1507, 17.8531, 5.7109)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558131 #5D3181
analogous
#7D8131 #558131 #318135
triadic
#558131 #315581 #813155
tetradic
#558131 #317D81 #5D3181 #813531
square
#558131 #317D81 #5D3181 #813531
split-complementary
#558131 #353181 #81317D
monochromatic
#1B280F #385520 #558131 #72AD42 #91C567

Accessibility & contrast

On white

4.59
#558131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#558131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #558131
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558131#FFFFFF#000000##FFFFFF
##5581311.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#557C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #558131;
/* rgb */ color: rgb(85, 129, 49);
/* oklch */ color: oklch(55.3% 0.121 133.2);
Tailwind
colors: {
  custom: {
    50: '#88a66c',
    500: '#558131',
    950: '#000000',
  },
}
SCSS
$custom: #558131;
$custom-light: #88a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#558131",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 93,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.1207,
    "h": 133.2
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#558131
secondary
#8B61AD
accent
#53D59A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #558131

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

Preview Lab → · Contrast checker → · Palette generator →

#558131 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva