#588B20#588B20

#588B20 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.145 H 132.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#588B20
RGBrgb(88, 139, 32)
HSLhsl(89, 63%, 34%)
HSVhsv(89, 77%, 55%)
CMYKcmyk(36.7%, 0%, 77%, 45.5%)
CIE-LABlab(52.56, -34.52, 48.35)
CIE-LCHlch(52.56, 59.41, 125.52°)
OKLaboklab(57.94% -0.0975 0.1078)
OKLCHoklch(57.94% 0.145 132.1)
XYZxyz(13.5177, 20.6437, 4.6386)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588B20 #53208B
analogous
#8B8820 #588B20 #228B20
triadic
#588B20 #20588B #8B2058
tetradic
#588B20 #208B88 #53208B #8B2022
square
#588B20 #208B88 #53208B #8B2022
split-complementary
#588B20 #20228B #88208B
monochromatic
#192809 #395915 #588B20 #77BD2B #96D64F

Accessibility & contrast

On white

4.09
#588B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#588B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588B20
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588B20#FFFFFF#000000##000000
##588B201.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#598577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #588b20;
/* rgb */ color: rgb(88, 139, 32);
/* oklch */ color: oklch(57.9% 0.145 132.1);
Tailwind
colors: {
  custom: {
    50: '#8cad64',
    500: '#588b20',
    950: '#000000',
  },
}
SCSS
$custom: #588b20;
$custom-light: #8cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#588b20",
  "rgb": {
    "r": 88,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 88.598,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.14537,
    "h": 132.1
  },
  "luminance": 0.20644
}

Semantic roles & 50–950 ramp

primary
#588B20
secondary
#814DBA
accent
#42E690
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588B20

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

Preview Lab → · Contrast checker → · Palette generator →

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