#588D1F#588D1F

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

Color values

HEX#588D1F
RGBrgb(88, 141, 31)
HSLhsl(89, 64%, 34%)
HSVhsv(89, 78%, 55%)
CMYKcmyk(37.6%, 0%, 78%, 44.7%)
CIE-LABlab(53.19, -35.47, 49.31)
CIE-LCHlch(53.19, 60.74, 125.73°)
OKLaboklab(58.46% -0.1002 0.1097)
OKLCHoklch(58.46% 0.149 132.4)
XYZxyz(13.7965, 21.2228, 4.6655)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588D1F #541F8D
analogous
#8D8B1F #588D1F #218D1F
triadic
#588D1F #1F588D #8D1F58
tetradic
#588D1F #1F8D8B #541F8D #8D1F21
square
#588D1F #1F8D8B #541F8D #8D1F21
split-complementary
#588D1F #1F218D #8B1F8D
monochromatic
#192909 #395B14 #588D1F #77BF2A #96D84E

Accessibility & contrast

On white

4.00
#588D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##588D1F#FFFFFF#000000##000000
##588D1F1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #588d1f;
/* rgb */ color: rgb(88, 141, 31);
/* oklch */ color: oklch(58.5% 0.149 132.4);
Tailwind
colors: {
  custom: {
    50: '#8cae64',
    500: '#588d1f',
    950: '#000000',
  },
}
SCSS
$custom: #588d1f;
$custom-light: #8cae64;
$custom-dark: #000000;
JSON
{
  "hex": "#588d1f",
  "rgb": {
    "r": 88,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 88.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.14853,
    "h": 132.4
  },
  "luminance": 0.21223
}

Semantic roles & 50–950 ramp

primary
#588D1F
secondary
#824DBB
accent
#41E791
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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