#587B21#587B21

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

Color values

HEX#587B21
RGBrgb(88, 123, 33)
HSLhsl(83, 58%, 31%)
HSVhsv(83, 73%, 48%)
CMYKcmyk(28.5%, 0%, 73.2%, 51.8%)
CIE-LABlab(47.43, -26.96, 42.91)
CIE-LCHlch(47.43, 50.67, 122.14°)
OKLaboklab(53.77% -0.0769 0.0966)
OKLCHoklch(53.77% 0.123 128.5)
XYZxyz(11.3820, 16.3502, 3.9948)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B21 #44217B
analogous
#7B7121 #587B21 #2B7B21
triadic
#587B21 #21587B #7B2158
tetradic
#587B21 #217B71 #44217B #7B212B
square
#587B21 #217B71 #44217B #7B212B
split-complementary
#587B21 #212B7B #71217B
monochromatic
#131A07 #354B14 #587B21 #7BAB2E #9ACE48

Accessibility & contrast

On white

4.92
#587B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #587B21
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B21#FFFFFF#000000##FFFFFF
##587B211.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817212
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#5B7569
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587b21;
/* rgb */ color: rgb(88, 123, 33);
/* oklch */ color: oklch(53.8% 0.123 128.5);
Tailwind
colors: {
  custom: {
    50: '#8aa162',
    500: '#587b21',
    950: '#000000',
  },
}
SCSS
$custom: #587b21;
$custom-light: #8aa162;
$custom-dark: #000000;
JSON
{
  "hex": "#587b21",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 83.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.12344,
    "h": 128.5
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#587B21
secondary
#714AAE
accent
#47E183
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F05
muted
#7D7E7A

Preview Lab

Preview with #587B21

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

Preview Lab → · Contrast checker → · Palette generator →

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