#558F2F#558F2F

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

Color values

HEX#558F2F
RGBrgb(85, 143, 47)
HSLhsl(96, 51%, 37%)
HSVhsv(96, 67%, 56%)
CMYKcmyk(40.6%, 0%, 67.1%, 43.9%)
CIE-LABlab(53.79, -36.26, 43.59)
CIE-LCHlch(53.79, 56.71, 129.76°)
OKLaboklab(58.95% -0.1009 0.1001)
OKLCHoklch(58.95% 0.142 135.2)
XYZxyz(14.0815, 21.7807, 6.1509)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558F2F #692F8F
analogous
#858F2F #558F2F #2F8F39
triadic
#558F2F #2F558F #8F2F55
tetradic
#558F2F #2F858F #692F8F #8F392F
square
#558F2F #2F858F #692F8F #8F392F
split-complementary
#558F2F #392F8F #8F2F85
monochromatic
#1E3311 #3A6120 #558F2F #70BD3E #92CE6A

Accessibility & contrast

On white

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

On black

5.36
#558F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558F2F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558F2F#FFFFFF#000000##000000
##558F2F1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948422
Deuteranopia (green-blind)
#8C7F37
Tritanopia (blue-blind)
#548A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #558f2f;
/* rgb */ color: rgb(85, 143, 47);
/* oklch */ color: oklch(58.9% 0.142 135.2);
Tailwind
colors: {
  custom: {
    50: '#89b06c',
    500: '#558f2f',
    950: '#000000',
  },
}
SCSS
$custom: #558f2f;
$custom-light: #89b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#558f2f",
  "rgb": {
    "r": 85,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 96.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.14211,
    "h": 135.2
  },
  "luminance": 0.21781
}

Semantic roles & 50–950 ramp

primary
#558F2F
secondary
#9565B5
accent
#4EDAA3
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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