#588B21#588B21

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

Color values

HEX#588B21
RGBrgb(88, 139, 33)
HSLhsl(89, 62%, 34%)
HSVhsv(89, 76%, 55%)
CMYKcmyk(36.7%, 0%, 76.3%, 45.5%)
CIE-LABlab(52.56, -34.45, 48.00)
CIE-LCHlch(52.56, 59.08, 125.67°)
OKLaboklab(57.95% -0.0973 0.1072)
OKLCHoklch(57.95% 0.145 132.2)
XYZxyz(13.5315, 20.6492, 4.7113)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588B21 #54218B
analogous
#8B8921 #588B21 #238B21
triadic
#588B21 #21588B #8B2158
tetradic
#588B21 #218B89 #54218B #8B2123
square
#588B21 #218B89 #54218B #8B2123
split-complementary
#588B21 #21238B #89218B
monochromatic
#19280A #395A15 #588B21 #77BC2D #96D651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##588B21#FFFFFF#000000##000000
##588B211.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)
#91800B
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#598577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #588b21;
/* rgb */ color: rgb(88, 139, 33);
/* oklch */ color: oklch(57.9% 0.145 132.2);
Tailwind
colors: {
  custom: {
    50: '#8cad64',
    500: '#588b21',
    950: '#000000',
  },
}
SCSS
$custom: #588b21;
$custom-light: #8cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#588b21",
  "rgb": {
    "r": 88,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 88.868,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.14478,
    "h": 132.2
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

primary
#588B21
secondary
#824FB9
accent
#43E591
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588B21

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

Preview Lab → · Contrast checker → · Palette generator →

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