#558B2F#558B2F

#558B2F is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.137 H 134.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#558B2F
RGBrgb(85, 139, 47)
HSLhsl(95, 49%, 36%)
HSVhsv(95, 66%, 55%)
CMYKcmyk(38.8%, 0%, 66.2%, 45.5%)
CIE-LABlab(52.51, -34.48, 42.21)
CIE-LCHlch(52.51, 54.50, 129.25°)
OKLaboklab(57.9% -0.096 0.0972)
OKLCHoklch(57.9% 0.137 134.7)
XYZxyz(13.4917, 20.6011, 5.9543)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B2F #652F8B
analogous
#838B2F #558B2F #2F8B37
triadic
#558B2F #2F558B #8B2F55
tetradic
#558B2F #2F838B #652F8B #8B372F
square
#558B2F #2F838B #652F8B #8B372F
split-complementary
#558B2F #372F8B #8B2F83
monochromatic
#1D3010 #395D20 #558B2F #71B93E #92CC68

Accessibility & contrast

On white

4.10
#558B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#558B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558B2F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558B2F#FFFFFF#000000##000000
##558B2F1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#548678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b2f;
/* rgb */ color: rgb(85, 139, 47);
/* oklch */ color: oklch(57.9% 0.137 134.7);
Tailwind
colors: {
  custom: {
    50: '#89ad6c',
    500: '#558b2f',
    950: '#000000',
  },
}
SCSS
$custom: #558b2f;
$custom-light: #89ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#558b2f",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 95.217,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.13659,
    "h": 134.7
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#558B2F
secondary
#9263B3
accent
#4FD9A0
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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