#558F2D#558F2D

#558F2D is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 58.9% C 0.144 H 135.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#558F2D
RGBrgb(85, 143, 45)
HSLhsl(96, 52%, 37%)
HSVhsv(96, 69%, 56%)
CMYKcmyk(40.6%, 0%, 68.5%, 43.9%)
CIE-LABlab(53.78, -36.44, 44.44)
CIE-LCHlch(53.78, 57.47, 129.35°)
OKLaboklab(58.93% -0.1015 0.1016)
OKLCHoklch(58.93% 0.144 135)
XYZxyz(14.0421, 21.7650, 5.9433)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558F2D #672D8F
analogous
#868F2D #558F2D #2D8F36
triadic
#558F2D #2D558F #8F2D55
tetradic
#558F2D #2D868F #672D8F #8F362D
square
#558F2D #2D868F #672D8F #8F362D
split-complementary
#558F2D #362D8F #8F2D86
monochromatic
#1E3210 #39601E #558F2D #71BE3C #92CF67

Accessibility & contrast

On white

3.92
#558F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#558F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558F2D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558F2D#FFFFFF#000000##000000
##558F2D1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94841F
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#548A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #558f2d;
/* rgb */ color: rgb(85, 143, 45);
/* oklch */ color: oklch(58.9% 0.144 135.0);
Tailwind
colors: {
  custom: {
    50: '#89b06b',
    500: '#558f2d',
    950: '#000000',
  },
}
SCSS
$custom: #558f2d;
$custom-light: #89b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#558f2d",
  "rgb": {
    "r": 85,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 95.51,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.14362,
    "h": 135
  },
  "luminance": 0.21766
}

Semantic roles & 50–950 ramp

primary
#558F2D
secondary
#9462B6
accent
#4CDCA1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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