#588D25#588D25

#588D25 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.145 H 132.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#588D25
RGBrgb(88, 141, 37)
HSLhsl(91, 58%, 35%)
HSVhsv(91, 74%, 55%)
CMYKcmyk(37.6%, 0%, 73.8%, 44.7%)
CIE-LABlab(53.23, -35.08, 47.17)
CIE-LCHlch(53.23, 58.78, 126.64°)
OKLaboklab(58.5% -0.0987 0.1061)
OKLCHoklch(58.5% 0.145 132.9)
XYZxyz(13.8831, 21.2574, 5.1215)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#588D25 #5A258D
analogous
#8C8D25 #588D25 #258D26
triadic
#588D25 #25588D #8D2558
tetradic
#588D25 #258C8D #5A258D #8D2625
square
#588D25 #258C8D #5A258D #8D2625
split-complementary
#588D25 #26258D #8D258C
monochromatic
#1B2C0C #3A5D18 #588D25 #76BD32 #95D359

Accessibility & contrast

On white

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

On black

5.25
#588D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #588D25
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##588D25#FFFFFF#000000##000000
##588D251.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#598779
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #588d25;
/* rgb */ color: rgb(88, 141, 37);
/* oklch */ color: oklch(58.5% 0.145 132.9);
Tailwind
colors: {
  custom: {
    50: '#8cae67',
    500: '#588d25',
    950: '#000000',
  },
}
SCSS
$custom: #588d25;
$custom-light: #8cae67;
$custom-dark: #000000;
JSON
{
  "hex": "#588d25",
  "rgb": {
    "r": 88,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 90.577,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.1449,
    "h": 132.9
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#588D25
secondary
#8856B8
accent
#46E295
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #588D25

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

Preview Lab → · Contrast checker → · Palette generator →

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