#587F25#587F25

#587F25 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.126 H 130.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#587F25
RGBrgb(88, 127, 37)
HSLhsl(86, 55%, 32%)
HSVhsv(86, 71%, 50%)
CMYKcmyk(30.7%, 0%, 70.9%, 50.2%)
CIE-LABlab(48.74, -28.60, 42.60)
CIE-LCHlch(48.74, 51.31, 123.88°)
OKLaboklab(54.85% -0.081 0.0966)
OKLCHoklch(54.85% 0.126 130)
XYZxyz(11.9477, 17.3867, 4.4764)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F25 #4C257F
analogous
#7F7925 #587F25 #2B7F25
triadic
#587F25 #25587F #7F2558
tetradic
#587F25 #257F79 #4C257F #7F252B
square
#587F25 #257F79 #4C257F #7F252B
split-complementary
#587F25 #252B7F #79257F
monochromatic
#162009 #375017 #587F25 #79AE33 #97CD52

Accessibility & contrast

On white

4.69
#587F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#587F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587F25
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F25#FFFFFF#000000##FFFFFF
##587F251.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857618
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#5A796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f25;
/* rgb */ color: rgb(88, 127, 37);
/* oklch */ color: oklch(54.8% 0.126 130.0);
Tailwind
colors: {
  custom: {
    50: '#8aa465',
    500: '#587f25',
    950: '#000000',
  },
}
SCSS
$custom: #587f25;
$custom-light: #8aa465;
$custom-dark: #000000;
JSON
{
  "hex": "#587f25",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 86,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.12603,
    "h": 130
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#587F25
secondary
#794FB1
accent
#4ADE8A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F25

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

Preview Lab → · Contrast checker → · Palette generator →

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