#587828#587828

#587828 is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.1% C 0.114 H 128.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#587828
RGBrgb(88, 120, 40)
HSLhsl(84, 50%, 31%)
HSVhsv(84, 67%, 47%)
CMYKcmyk(26.7%, 0%, 66.7%, 52.9%)
CIE-LABlab(46.53, -24.94, 38.94)
CIE-LCHlch(46.53, 46.24, 122.63°)
OKLaboklab(53.05% -0.0707 0.0893)
OKLCHoklch(53.05% 0.114 128.4)
XYZxyz(11.1239, 15.6606, 4.4438)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587828 #482878
analogous
#787028 #587828 #307828
triadic
#587828 #285878 #782858
tetradic
#587828 #287870 #482878 #782830
square
#587828 #287870 #482878 #782830
split-complementary
#587828 #283078 #702878
monochromatic
#151C09 #364A19 #587828 #7AA637 #99C654

Accessibility & contrast

On white

5.08
#587828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#587828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587828
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587828#FFFFFF#000000##FFFFFF
##5878281.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701E
Deuteranopia (green-blind)
#796E2E
Tritanopia (blue-blind)
#5B7367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #587828;
/* rgb */ color: rgb(88, 120, 40);
/* oklch */ color: oklch(53.1% 0.114 128.4);
Tailwind
colors: {
  custom: {
    50: '#8a9f66',
    500: '#587828',
    950: '#000000',
  },
}
SCSS
$custom: #587828;
$custom-light: #8a9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#587828",
  "rgb": {
    "r": 88,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 84,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.11388,
    "h": 128.4
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#587828
secondary
#7552AA
accent
#4EDA86
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #587828

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

Preview Lab → · Contrast checker → · Palette generator →

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