#558B28#558B28

#558B28 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.142 H 133.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#558B28
RGBrgb(85, 139, 40)
HSLhsl(93, 55%, 35%)
HSVhsv(93, 71%, 55%)
CMYKcmyk(38.8%, 0%, 71.2%, 45.5%)
CIE-LABlab(52.45, -35.07, 45.14)
CIE-LCHlch(52.45, 57.16, 127.85°)
OKLaboklab(57.83% -0.0982 0.1024)
OKLCHoklch(57.83% 0.142 133.8)
XYZxyz(13.3617, 20.5491, 5.2694)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558B28 #5E288B
analogous
#878B28 #558B28 #288B2C
triadic
#558B28 #28558B #8B2855
tetradic
#558B28 #28878B #5E288B #8B2C28
square
#558B28 #28878B #5E288B #8B2C28
split-complementary
#558B28 #2C288B #8B2887
monochromatic
#1B2C0D #385B1A #558B28 #72BB36 #91D05D

Accessibility & contrast

On white

4.11
#558B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#558B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558B28
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558B28#FFFFFF#000000##000000
##558B281.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#558577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #558b28;
/* rgb */ color: rgb(85, 139, 40);
/* oklch */ color: oklch(57.8% 0.142 133.8);
Tailwind
colors: {
  custom: {
    50: '#89ad68',
    500: '#558b28',
    950: '#000000',
  },
}
SCSS
$custom: #558b28;
$custom-light: #89ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#558b28",
  "rgb": {
    "r": 85,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 92.727,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.14186,
    "h": 133.8
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#558B28
secondary
#8C59B6
accent
#49DF9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #558B28

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

Preview Lab → · Contrast checker → · Palette generator →

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