#558B40#558B40

#558B40 is a mid, vivid green. Relative luminance 0.208; OKLCH L 58.1% C 0.121 H 137.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#558B40
RGBrgb(85, 139, 64)
HSLhsl(103, 37%, 40%)
HSVhsv(103, 54%, 55%)
CMYKcmyk(38.8%, 0%, 54%, 45.5%)
CIE-LABlab(52.69, -32.64, 34.23)
CIE-LCHlch(52.69, 47.30, 133.63°)
OKLaboklab(58.1% -0.0897 0.0817)
OKLCHoklch(58.1% 0.121 137.7)
XYZxyz(13.9039, 20.7660, 8.1251)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B40 #76408B
analogous
#7B8B40 #558B40 #408B51
triadic
#558B40 #40558B #8B4055
tetradic
#558B40 #407B8B #76408B #8B5140
square
#558B40 #407B8B #76408B #8B5140
split-complementary
#558B40 #51408B #8B407B
monochromatic
#223719 #3B612D #558B40 #70B257 #94C581

Accessibility & contrast

On white

4.07
#558B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#558B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558B40
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558B40#FFFFFF#000000##000000
##558B401.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#52877A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #558b40;
/* rgb */ color: rgb(85, 139, 64);
/* oklch */ color: oklch(58.1% 0.121 137.7);
Tailwind
colors: {
  custom: {
    50: '#88ad77',
    500: '#558b40',
    950: '#000000',
  },
}
SCSS
$custom: #558b40;
$custom-light: #88ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#558b40",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 103.2,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.12136,
    "h": 137.7
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#558B40
secondary
#A078AF
accent
#5BCDAD
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #558B40

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

Preview Lab → · Contrast checker → · Palette generator →

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