#587311#587311

#587311 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.6% C 0.122 H 124.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#587311
RGBrgb(88, 115, 17)
HSLhsl(77, 74%, 26%)
HSVhsv(77, 85%, 45%)
CMYKcmyk(23.5%, 0%, 85.2%, 54.9%)
CIE-LABlab(44.77, -23.89, 45.99)
CIE-LCHlch(44.77, 51.82, 117.45°)
OKLaboklab(51.58% -0.0698 0.1003)
OKLCHoklch(51.58% 0.122 124.8)
XYZxyz(10.2565, 14.3765, 2.7648)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587311 #2C1173
analogous
#735D11 #587311 #277311
triadic
#587311 #115873 #731158
tetradic
#587311 #11735D #2C1173 #731127
square
#587311 #11735D #2C1173 #731127
split-complementary
#587311 #112773 #5D1173
monochromatic
#141B04 #2F3E09 #587311 #81A819 #AADE21

Accessibility & contrast

On white

5.42
#587311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#587311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587311
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587311#FFFFFF#000000##FFFFFF
##5873111.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#766A1C
Tritanopia (blue-blind)
#5D6D61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #587311;
/* rgb */ color: rgb(88, 115, 17);
/* oklch */ color: oklch(51.6% 0.122 124.8);
Tailwind
colors: {
  custom: {
    50: '#8b9b5a',
    500: '#587311',
    950: '#000000',
  },
}
SCSS
$custom: #587311;
$custom-light: #8b9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#587311",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 76.531,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.12223,
    "h": 124.8
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#587311
secondary
#5636AA
accent
#37F16A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587311

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

Preview Lab → · Contrast checker → · Palette generator →

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