#588D22#588D22

#588D22 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.5% C 0.147 H 132.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#588D22
RGBrgb(88, 141, 34)
HSLhsl(90, 61%, 34%)
HSVhsv(90, 76%, 55%)
CMYKcmyk(37.6%, 0%, 75.9%, 44.7%)
CIE-LABlab(53.21, -35.29, 48.27)
CIE-LCHlch(53.21, 59.79, 126.17°)
OKLaboklab(58.48% -0.0994 0.108)
OKLCHoklch(58.48% 0.147 132.6)
XYZxyz(13.8379, 21.2394, 4.8836)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588D22 #57228D
analogous
#8D8D22 #588D22 #228D22
triadic
#588D22 #22588D #8D2258
tetradic
#588D22 #228D8D #57228D #8D2222
square
#588D22 #228D8D #57228D #8D2222
split-complementary
#588D22 #22228D #8D228D
monochromatic
#1A2A0A #395C16 #588D22 #77BE2E #95D654

Accessibility & contrast

On white

4.00
#588D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#588D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588D22
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588D22#FFFFFF#000000##000000
##588D221.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#598778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #588d22;
/* rgb */ color: rgb(88, 141, 34);
/* oklch */ color: oklch(58.5% 0.147 132.6);
Tailwind
colors: {
  custom: {
    50: '#8cae65',
    500: '#588d22',
    950: '#000000',
  },
}
SCSS
$custom: #588d22;
$custom-light: #8cae65;
$custom-dark: #000000;
JSON
{
  "hex": "#588d22",
  "rgb": {
    "r": 88,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 89.72,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.14678,
    "h": 132.6
  },
  "luminance": 0.2124
}

Semantic roles & 50–950 ramp

primary
#588D22
secondary
#8551B9
accent
#44E493
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588D22

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

Preview Lab → · Contrast checker → · Palette generator →

#588D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva