#558F28#558F28

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

Color values

HEX#558F28
RGBrgb(85, 143, 40)
HSLhsl(94, 56%, 36%)
HSVhsv(94, 72%, 56%)
CMYKcmyk(40.6%, 0%, 72%, 43.9%)
CIE-LABlab(53.74, -36.84, 46.46)
CIE-LCHlch(53.74, 59.29, 128.41°)
OKLaboklab(58.88% -0.103 0.1051)
OKLCHoklch(58.88% 0.147 134.4)
XYZxyz(13.9515, 21.7287, 5.4660)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558F28 #62288F
analogous
#888F28 #558F28 #288F2E
triadic
#558F28 #28558F #8F2855
tetradic
#558F28 #28888F #62288F #8F2E28
square
#558F28 #28888F #62288F #8F2E28
split-complementary
#558F28 #2E288F #8F2888
monochromatic
#1C2F0D #395F1B #558F28 #71BF35 #91D25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##558F28#FFFFFF#000000##000000
##558F281.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)
#958317
Deuteranopia (green-blind)
#8D7F31
Tritanopia (blue-blind)
#54897B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #558f28;
/* rgb */ color: rgb(85, 143, 40);
/* oklch */ color: oklch(58.9% 0.147 134.4);
Tailwind
colors: {
  custom: {
    50: '#8ab068',
    500: '#558f28',
    950: '#000000',
  },
}
SCSS
$custom: #558f28;
$custom-light: #8ab068;
$custom-dark: #000000;
JSON
{
  "hex": "#558f28",
  "rgb": {
    "r": 85,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 93.786,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.14718,
    "h": 134.4
  },
  "luminance": 0.21729
}

Semantic roles & 50–950 ramp

primary
#558F28
secondary
#8F5BB8
accent
#48E09D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558F28

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

Preview Lab → · Contrast checker → · Palette generator →

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