#587F23#587F23

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

Color values

HEX#587F23
RGBrgb(88, 127, 35)
HSLhsl(85, 57%, 32%)
HSVhsv(85, 72%, 50%)
CMYKcmyk(30.7%, 0%, 72.4%, 50.2%)
CIE-LABlab(48.73, -28.75, 43.41)
CIE-LCHlch(48.73, 52.07, 123.51°)
OKLaboklab(54.83% -0.0816 0.098)
OKLCHoklch(54.83% 0.127 129.8)
XYZxyz(11.9172, 17.3745, 4.3155)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F23 #4A237F
analogous
#7F7823 #587F23 #2A7F23
triadic
#587F23 #23587F #7F2358
tetradic
#587F23 #237F78 #4A237F #7F232A
square
#587F23 #237F78 #4A237F #7F232A
split-complementary
#587F23 #232A7F #78237F
monochromatic
#161F09 #374F16 #587F23 #79AF30 #98CE4E

Accessibility & contrast

On white

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

On black

4.47
#587F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##587F23#FFFFFF#000000##FFFFFF
##587F231.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #587f23;
/* rgb */ color: rgb(88, 127, 35);
/* oklch */ color: oklch(54.8% 0.127 129.8);
Tailwind
colors: {
  custom: {
    50: '#8aa464',
    500: '#587f23',
    950: '#000000',
  },
}
SCSS
$custom: #587f23;
$custom-light: #8aa464;
$custom-dark: #000000;
JSON
{
  "hex": "#587f23",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 85.435,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.12748,
    "h": 129.8
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#587F23
secondary
#774CB1
accent
#48E088
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F23

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

Preview Lab → · Contrast checker → · Palette generator →

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