#587B22#587B22

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

Color values

HEX#587B22
RGBrgb(88, 123, 34)
HSLhsl(84, 57%, 31%)
HSVhsv(84, 72%, 48%)
CMYKcmyk(28.5%, 0%, 72.4%, 51.8%)
CIE-LABlab(47.44, -26.89, 42.51)
CIE-LCHlch(47.44, 50.30, 122.31°)
OKLaboklab(53.78% -0.0766 0.0959)
OKLCHoklch(53.78% 0.123 128.6)
XYZxyz(11.3962, 16.3558, 4.0696)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B22 #45227B
analogous
#7B7122 #587B22 #2B7B22
triadic
#587B22 #22587B #7B2258
tetradic
#587B22 #227B71 #45227B #7B222B
square
#587B22 #227B71 #45227B #7B222B
split-complementary
#587B22 #222B7B #71227B
monochromatic
#131B07 #364B15 #587B22 #7AAB2F #9ACD4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587B22#FFFFFF#000000##FFFFFF
##587B221.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)
#817214
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#5B7569
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587b22;
/* rgb */ color: rgb(88, 123, 34);
/* oklch */ color: oklch(53.8% 0.123 128.6);
Tailwind
colors: {
  custom: {
    50: '#8aa163',
    500: '#587b22',
    950: '#000000',
  },
}
SCSS
$custom: #587b22;
$custom-light: #8aa163;
$custom-dark: #000000;
JSON
{
  "hex": "#587b22",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 83.596,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.12273,
    "h": 128.6
  },
  "luminance": 0.16356
}

Semantic roles & 50–950 ramp

primary
#587B22
secondary
#724BAE
accent
#48E084
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F05
muted
#7D7E7A

Preview Lab

Preview with #587B22

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

Preview Lab → · Contrast checker → · Palette generator →

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