#587B27#587B27

#587B27 is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 53.8% C 0.119 H 129.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#587B27
RGBrgb(88, 123, 39)
HSLhsl(85, 52%, 32%)
HSVhsv(85, 68%, 48%)
CMYKcmyk(28.5%, 0%, 68.3%, 51.8%)
CIE-LABlab(47.48, -26.50, 40.41)
CIE-LCHlch(47.48, 48.33, 123.26°)
OKLaboklab(53.82% -0.0751 0.0923)
OKLCHoklch(53.82% 0.119 129.1)
XYZxyz(11.4736, 16.3868, 4.4775)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B27 #4A277B
analogous
#7B7427 #587B27 #2E7B27
triadic
#587B27 #27587B #7B2758
tetradic
#587B27 #277B74 #4A277B #7B272E
square
#587B27 #277B74 #4A277B #7B272E
split-complementary
#587B27 #272E7B #74277B
monochromatic
#161E0A #374D18 #587B27 #79A936 #98C954

Accessibility & contrast

On white

4.91
#587B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#587B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B27
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B27#FFFFFF#000000##FFFFFF
##587B271.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721C
Deuteranopia (green-blind)
#7C702E
Tritanopia (blue-blind)
#5B766A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587b27;
/* rgb */ color: rgb(88, 123, 39);
/* oklch */ color: oklch(53.8% 0.119 129.1);
Tailwind
colors: {
  custom: {
    50: '#8aa166',
    500: '#587b27',
    950: '#000000',
  },
}
SCSS
$custom: #587b27;
$custom-light: #8aa166;
$custom-dark: #000000;
JSON
{
  "hex": "#587b27",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 85,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.11895,
    "h": 129.1
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#587B27
secondary
#7751AD
accent
#4CDB88
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F06
muted
#7D7E7A

Preview Lab

Preview with #587B27

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

Preview Lab → · Contrast checker → · Palette generator →

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