#588D21#588D21

#588D21 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#588D21
RGBrgb(88, 141, 33)
HSLhsl(89, 62%, 34%)
HSVhsv(89, 77%, 55%)
CMYKcmyk(37.6%, 0%, 76.6%, 44.7%)
CIE-LABlab(53.20, -35.35, 48.62)
CIE-LCHlch(53.20, 60.11, 126.02°)
OKLaboklab(58.47% -0.0997 0.1086)
OKLCHoklch(58.47% 0.147 132.6)
XYZxyz(13.8237, 21.2337, 4.8087)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588D21 #56218D
analogous
#8D8C21 #588D21 #228D21
triadic
#588D21 #21588D #8D2158
tetradic
#588D21 #218D8C #56218D #8D2122
square
#588D21 #218D8C #56218D #8D2122
split-complementary
#588D21 #21228D #8C218D
monochromatic
#1A2A0A #395B15 #588D21 #77BF2D #95D652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##588D21#FFFFFF#000000##000000
##588D211.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)
#938209
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#598778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #588d21;
/* rgb */ color: rgb(88, 141, 33);
/* oklch */ color: oklch(58.5% 0.147 132.6);
Tailwind
colors: {
  custom: {
    50: '#8cae65',
    500: '#588d21',
    950: '#000000',
  },
}
SCSS
$custom: #588d21;
$custom-light: #8cae65;
$custom-dark: #000000;
JSON
{
  "hex": "#588d21",
  "rgb": {
    "r": 88,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 89.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.14738,
    "h": 132.6
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#588D21
secondary
#8450BA
accent
#43E592
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588D21

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

Preview Lab → · Contrast checker → · Palette generator →

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