#588D31#588D31

#588D31 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.6% C 0.136 H 134.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#588D31
RGBrgb(88, 141, 49)
HSLhsl(95, 48%, 37%)
HSVhsv(95, 65%, 55%)
CMYKcmyk(37.6%, 0%, 65.2%, 44.7%)
CIE-LABlab(53.33, -34.11, 42.24)
CIE-LCHlch(53.33, 54.30, 128.92°)
OKLaboklab(58.61% -0.095 0.0974)
OKLCHoklch(58.61% 0.136 134.3)
XYZxyz(14.1035, 21.3456, 6.2821)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588D31 #66318D
analogous
#868D31 #588D31 #318D38
triadic
#588D31 #31588D #8D3158
tetradic
#588D31 #31868D #66318D #8D3831
square
#588D31 #31868D #66318D #8D3831
split-complementary
#588D31 #38318D #8D3186
monochromatic
#1F3211 #3C6021 #588D31 #74BA41 #95CC6C

Accessibility & contrast

On white

3.99
#588D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#588D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588D31
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588D31#FFFFFF#000000##000000
##588D311.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#58887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #588d31;
/* rgb */ color: rgb(88, 141, 49);
/* oklch */ color: oklch(58.6% 0.136 134.3);
Tailwind
colors: {
  custom: {
    50: '#8baf6d',
    500: '#588d31',
    950: '#000000',
  },
}
SCSS
$custom: #588d31;
$custom-light: #8baf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#588d31",
  "rgb": {
    "r": 88,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 94.565,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5861,
    "c": 0.13612,
    "h": 134.3
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#588D31
secondary
#9366B4
accent
#50D89E
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #588D31

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

Preview Lab → · Contrast checker → · Palette generator →

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