#587F22#587F22

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

Color values

HEX#587F22
RGBrgb(88, 127, 34)
HSLhsl(85, 58%, 32%)
HSVhsv(85, 73%, 50%)
CMYKcmyk(30.7%, 0%, 73.2%, 50.2%)
CIE-LABlab(48.72, -28.82, 43.81)
CIE-LCHlch(48.72, 52.44, 123.34°)
OKLaboklab(54.82% -0.0819 0.0986)
OKLCHoklch(54.82% 0.128 129.7)
XYZxyz(11.9026, 17.3686, 4.2384)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F22 #49227F
analogous
#7F7822 #587F22 #2A7F22
triadic
#587F22 #22587F #7F2258
tetradic
#587F22 #227F78 #49227F #7F222A
square
#587F22 #227F78 #49227F #7F222A
split-complementary
#587F22 #222A7F #78227F
monochromatic
#151E08 #374F15 #587F22 #79AF2F #98CF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587F22#FFFFFF#000000##FFFFFF
##587F221.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)
#857612
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#5A796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f22;
/* rgb */ color: rgb(88, 127, 34);
/* oklch */ color: oklch(54.8% 0.128 129.7);
Tailwind
colors: {
  custom: {
    50: '#8ba463',
    500: '#587f22',
    950: '#000000',
  },
}
SCSS
$custom: #587f22;
$custom-light: #8ba463;
$custom-dark: #000000;
JSON
{
  "hex": "#587f22",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 85.161,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.12817,
    "h": 129.7
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

primary
#587F22
secondary
#764BB2
accent
#47E187
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #587F22

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

Preview Lab → · Contrast checker → · Palette generator →

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