#558C2F#558C2F

#558C2F is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.138 H 134.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#558C2F
RGBrgb(85, 140, 47)
HSLhsl(95, 50%, 37%)
HSVhsv(95, 66%, 55%)
CMYKcmyk(39.3%, 0%, 66.4%, 45.1%)
CIE-LABlab(52.83, -34.93, 42.55)
CIE-LCHlch(52.83, 55.05, 129.38°)
OKLaboklab(58.16% -0.0972 0.0979)
OKLCHoklch(58.16% 0.138 134.8)
XYZxyz(13.6372, 20.8920, 6.0028)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558C2F #662F8C
analogous
#848C2F #558C2F #2F8C38
triadic
#558C2F #2F558C #8C2F55
tetradic
#558C2F #2F848C #662F8C #8C382F
square
#558C2F #2F848C #662F8C #8C382F
split-complementary
#558C2F #382F8C #8C2F84
monochromatic
#1D3010 #395E20 #558C2F #71BA3E #92CD69

Accessibility & contrast

On white

4.06
#558C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#558C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558C2F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558C2F#FFFFFF#000000##000000
##558C2F1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#8A7C37
Tritanopia (blue-blind)
#548779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #558c2f;
/* rgb */ color: rgb(85, 140, 47);
/* oklch */ color: oklch(58.2% 0.138 134.8);
Tailwind
colors: {
  custom: {
    50: '#89ae6c',
    500: '#558c2f',
    950: '#000000',
  },
}
SCSS
$custom: #558c2f;
$custom-light: #89ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#558c2f",
  "rgb": {
    "r": 85,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 95.484,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.13799,
    "h": 134.8
  },
  "luminance": 0.20893
}

Semantic roles & 50–950 ramp

primary
#558C2F
secondary
#9363B4
accent
#4FD9A1
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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