#588D18#588D18

#588D18 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.152 H 131.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#588D18
RGBrgb(88, 141, 24)
HSLhsl(87, 71%, 32%)
HSVhsv(87, 83%, 55%)
CMYKcmyk(37.6%, 0%, 83%, 44.7%)
CIE-LABlab(53.16, -35.84, 51.49)
CIE-LCHlch(53.16, 62.74, 124.84°)
OKLaboklab(58.42% -0.1016 0.1131)
OKLCHoklch(58.42% 0.152 131.9)
XYZxyz(13.7141, 21.1898, 4.2314)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588D18 #4D188D
analogous
#8D8718 #588D18 #1E8D18
triadic
#588D18 #18588D #8D1858
tetradic
#588D18 #188D87 #4D188D #8D181E
square
#588D18 #188D87 #4D188D #8D181E
split-complementary
#588D18 #181E8D #87188D
monochromatic
#172406 #37590F #588D18 #79C121 #97DF41

Accessibility & contrast

On white

4.01
#588D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#588D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588D18
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588D18#FFFFFF#000000##000000
##588D181.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#598778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #588d18;
/* rgb */ color: rgb(88, 141, 24);
/* oklch */ color: oklch(58.4% 0.152 131.9);
Tailwind
colors: {
  custom: {
    50: '#8cae61',
    500: '#588d18',
    950: '#000000',
  },
}
SCSS
$custom: #588d18;
$custom-light: #8cae61;
$custom-dark: #000000;
JSON
{
  "hex": "#588d18",
  "rgb": {
    "r": 88,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 87.179,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.15208,
    "h": 131.9
  },
  "luminance": 0.2119
}

Semantic roles & 50–950 ramp

primary
#588D18
secondary
#7A42BF
accent
#3AEE8B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1005
muted
#7D7F7A

Preview Lab

Preview with #588D18

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

Preview Lab → · Contrast checker → · Palette generator →

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