#588C28#588C28

#588C28 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.3% C 0.142 H 133.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#588C28
RGBrgb(88, 140, 40)
HSLhsl(91, 56%, 35%)
HSVhsv(91, 71%, 55%)
CMYKcmyk(37.1%, 0%, 71.4%, 45.1%)
CIE-LABlab(52.93, -34.42, 45.68)
CIE-LCHlch(52.93, 57.19, 126.99°)
OKLaboklab(58.26% -0.0966 0.1035)
OKLCHoklch(58.26% 0.142 133)
XYZxyz(13.7854, 20.9835, 5.3309)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588C28 #5C288C
analogous
#8A8C28 #588C28 #288C2A
triadic
#588C28 #28588C #8C2858
tetradic
#588C28 #288A8C #5C288C #8C2A28
square
#588C28 #288A8C #5C288C #8C2A28
split-complementary
#588C28 #2A288C #8C288A
monochromatic
#1C2D0D #3A5C1A #588C28 #76BC36 #95D15E

Accessibility & contrast

On white

4.04
#588C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#588C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588C28
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588C28#FFFFFF#000000##000000
##588C281.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#588678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #588c28;
/* rgb */ color: rgb(88, 140, 40);
/* oklch */ color: oklch(58.3% 0.142 133.0);
Tailwind
colors: {
  custom: {
    50: '#8bae68',
    500: '#588c28',
    950: '#000000',
  },
}
SCSS
$custom: #588c28;
$custom-light: #8bae68;
$custom-dark: #000000;
JSON
{
  "hex": "#588c28",
  "rgb": {
    "r": 88,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 91.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.14155,
    "h": 133
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#588C28
secondary
#8A5AB6
accent
#49DF97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588C28

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

Preview Lab → · Contrast checker → · Palette generator →

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