#587822#587822

#587822 is a mid, moderate yellow-green. Relative luminance 0.156; OKLCH L 53.0% C 0.119 H 127.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#587822
RGBrgb(88, 120, 34)
HSLhsl(82, 56%, 30%)
HSVhsv(82, 72%, 47%)
CMYKcmyk(26.7%, 0%, 71.7%, 52.9%)
CIE-LABlab(46.48, -25.41, 41.52)
CIE-LCHlch(46.48, 48.68, 121.47°)
OKLaboklab(53% -0.0725 0.0938)
OKLCHoklch(53% 0.119 127.7)
XYZxyz(11.0297, 15.6229, 3.9475)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587822 #422278
analogous
#786D22 #587822 #2D7822
triadic
#587822 #225878 #782258
tetradic
#587822 #22786D #422278 #78222D
square
#587822 #22786D #422278 #78222D
split-complementary
#587822 #222D78 #6D2278
monochromatic
#121907 #354814 #587822 #7BA830 #9BCB49

Accessibility & contrast

On white

5.09
#587822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#587822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587822
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587822#FFFFFF#000000##FFFFFF
##5878221.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#5B7267
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #587822;
/* rgb */ color: rgb(88, 120, 34);
/* oklch */ color: oklch(53.0% 0.119 127.7);
Tailwind
colors: {
  custom: {
    50: '#8a9f63',
    500: '#587822',
    950: '#000000',
  },
}
SCSS
$custom: #587822;
$custom-light: #8a9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#587822",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 82.326,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.11861,
    "h": 127.7
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#587822
secondary
#6F4BAB
accent
#49DF81
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #587822

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

Preview Lab → · Contrast checker → · Palette generator →

#587822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva