#587B25#587B25

#587B25 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.8% C 0.121 H 128.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#587B25
RGBrgb(88, 123, 37)
HSLhsl(84, 54%, 31%)
HSVhsv(84, 70%, 48%)
CMYKcmyk(28.5%, 0%, 69.9%, 51.8%)
CIE-LABlab(47.46, -26.66, 41.27)
CIE-LCHlch(47.46, 49.13, 122.86°)
OKLaboklab(53.8% -0.0757 0.0938)
OKLCHoklch(53.8% 0.121 128.9)
XYZxyz(11.4414, 16.3739, 4.3076)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B25 #48257B
analogous
#7B7325 #587B25 #2D7B25
triadic
#587B25 #25587B #7B2558
tetradic
#587B25 #257B73 #48257B #7B252D
square
#587B25 #257B73 #48257B #7B252D
split-complementary
#587B25 #252D7B #73257B
monochromatic
#151D09 #364C17 #587B25 #7AAA33 #99CA50

Accessibility & contrast

On white

4.91
#587B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#587B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B25
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B25#FFFFFF#000000##FFFFFF
##587B251.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817219
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#5B756A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587b25;
/* rgb */ color: rgb(88, 123, 37);
/* oklch */ color: oklch(53.8% 0.121 128.9);
Tailwind
colors: {
  custom: {
    50: '#8aa165',
    500: '#587b25',
    950: '#000000',
  },
}
SCSS
$custom: #587b25;
$custom-light: #8aa165;
$custom-dark: #000000;
JSON
{
  "hex": "#587b25",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 84.419,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.12051,
    "h": 128.9
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#587B25
secondary
#754FAD
accent
#4BDD86
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F06
muted
#7D7E7A

Preview Lab

Preview with #587B25

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

Preview Lab → · Contrast checker → · Palette generator →

#587B25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva