#558F2A#558F2A

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

Color values

HEX#558F2A
RGBrgb(85, 143, 42)
HSLhsl(94, 55%, 36%)
HSVhsv(94, 71%, 56%)
CMYKcmyk(40.6%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.75, -36.69, 45.67)
CIE-LCHlch(53.75, 58.58, 128.78°)
OKLaboklab(58.9% -0.1024 0.1038)
OKLCHoklch(58.9% 0.146 134.6)
XYZxyz(13.9864, 21.7427, 5.6498)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558F2A #642A8F
analogous
#888F2A #558F2A #2A8F31
triadic
#558F2A #2A558F #8F2A55
tetradic
#558F2A #2A888F #642A8F #8F312A
square
#558F2A #2A888F #642A8F #8F312A
split-complementary
#558F2A #312A8F #8F2A88
monochromatic
#1D300E #39601C #558F2A #71BE38 #91D162

Accessibility & contrast

On white

3.93
#558F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##558F2A#FFFFFF#000000##000000
##558F2A1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#54897B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #558f2a;
/* rgb */ color: rgb(85, 143, 42);
/* oklch */ color: oklch(58.9% 0.146 134.6);
Tailwind
colors: {
  custom: {
    50: '#8ab06a',
    500: '#558f2a',
    950: '#000000',
  },
}
SCSS
$custom: #558f2a;
$custom-light: #8ab06a;
$custom-dark: #000000;
JSON
{
  "hex": "#558f2a",
  "rgb": {
    "r": 85,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 94.455,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.1458,
    "h": 134.6
  },
  "luminance": 0.21743
}

Semantic roles & 50–950 ramp

primary
#558F2A
secondary
#915EB7
accent
#4ADE9F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #558F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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