#558240#558240

#558240 is a mid, moderate green. Relative luminance 0.183; OKLCH L 55.8% C 0.108 H 136.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#558240
RGBrgb(85, 130, 64)
HSLhsl(101, 34%, 38%)
HSVhsv(101, 51%, 51%)
CMYKcmyk(34.6%, 0%, 50.8%, 49%)
CIE-LABlab(49.82, -28.39, 30.74)
CIE-LCHlch(49.82, 41.84, 132.72°)
OKLaboklab(55.76% -0.0781 0.074)
OKLCHoklch(55.76% 0.108 136.5)
XYZxyz(12.6540, 18.2662, 7.7085)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558240 #6D4082
analogous
#768240 #558240 #40824C
triadic
#558240 #405582 #824055
tetradic
#558240 #407682 #6D4082 #824C40
square
#558240 #407682 #6D4082 #824C40
split-complementary
#558240 #4C4082 #824076
monochromatic
#1F3018 #3A592C #558240 #70AB54 #92BF7D

Accessibility & contrast

On white

4.51
#558240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#558240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558240
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558240#FFFFFF#000000##000000
##5582401.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7F7544
Tritanopia (blue-blind)
#547E73
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #558240;
/* rgb */ color: rgb(85, 130, 64);
/* oklch */ color: oklch(55.8% 0.108 136.5);
Tailwind
colors: {
  custom: {
    50: '#87a676',
    500: '#558240',
    950: '#000000',
  },
}
SCSS
$custom: #558240;
$custom-light: #87a676;
$custom-dark: #000000;
JSON
{
  "hex": "#558240",
  "rgb": {
    "r": 85,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 100.909,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.10756,
    "h": 136.5
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#558240
secondary
#9974AA
accent
#5ECAA8
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #558240

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

Preview Lab → · Contrast checker → · Palette generator →

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