#587B2F#587B2F

#587B2F is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 53.9% C 0.112 H 130.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#587B2F
RGBrgb(88, 123, 47)
HSLhsl(88, 45%, 33%)
HSVhsv(88, 62%, 48%)
CMYKcmyk(28.5%, 0%, 61.8%, 51.8%)
CIE-LABlab(47.55, -25.78, 36.78)
CIE-LCHlch(47.55, 44.91, 125.03°)
OKLaboklab(53.91% -0.0724 0.0856)
OKLCHoklch(53.91% 0.112 130.2)
XYZxyz(11.6205, 16.4456, 5.2508)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B2F #522F7B
analogous
#7B782F #587B2F #327B2F
triadic
#587B2F #2F587B #7B2F58
tetradic
#587B2F #2F7B78 #522F7B #7B2F32
square
#587B2F #2F7B78 #522F7B #7B2F32
split-complementary
#587B2F #2F327B #782F7B
monochromatic
#19220D #384F1E #587B2F #78A740 #96C362

Accessibility & contrast

On white

4.90
#587B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#587B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B2F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B2F#FFFFFF#000000##FFFFFF
##587B2F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#5A766B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587b2f;
/* rgb */ color: rgb(88, 123, 47);
/* oklch */ color: oklch(53.9% 0.112 130.2);
Tailwind
colors: {
  custom: {
    50: '#8aa16b',
    500: '#587b2f',
    950: '#000000',
  },
}
SCSS
$custom: #587b2f;
$custom-light: #8aa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#587b2f",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 87.632,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.11207,
    "h": 130.2
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#587B2F
secondary
#805CAA
accent
#53D48F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F07
muted
#7D7E7A

Preview Lab

Preview with #587B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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