#558231#558231

#558231 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.122 H 133.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#558231
RGBrgb(85, 130, 49)
HSLhsl(93, 45%, 35%)
HSVhsv(93, 62%, 51%)
CMYKcmyk(34.6%, 0%, 62.3%, 49%)
CIE-LABlab(49.64, -30.14, 38.11)
CIE-LCHlch(49.64, 48.59, 128.33°)
OKLaboklab(55.56% -0.084 0.0887)
OKLCHoklch(55.56% 0.122 133.4)
XYZxyz(12.2831, 18.1178, 5.7550)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558231 #5E3182
analogous
#7D8231 #558231 #318235
triadic
#558231 #315582 #823155
tetradic
#558231 #317D82 #5E3182 #823531
square
#558231 #317D82 #5E3182 #823531
split-complementary
#558231 #353182 #82317D
monochromatic
#1B290F #385620 #558231 #72AE42 #91C668

Accessibility & contrast

On white

4.54
#558231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#558231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558231
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558231#FFFFFF#000000##000000
##5582311.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#557D71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #558231;
/* rgb */ color: rgb(85, 130, 49);
/* oklch */ color: oklch(55.6% 0.122 133.4);
Tailwind
colors: {
  custom: {
    50: '#88a66c',
    500: '#558231',
    950: '#000000',
  },
}
SCSS
$custom: #558231;
$custom-light: #88a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#558231",
  "rgb": {
    "r": 85,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 93.333,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.12215,
    "h": 133.4
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#558231
secondary
#8C62AD
accent
#53D59B
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #558231

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

Preview Lab → · Contrast checker → · Palette generator →

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