#587312#587312

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

Color values

HEX#587312
RGBrgb(88, 115, 18)
HSLhsl(77, 73%, 26%)
HSVhsv(77, 84%, 45%)
CMYKcmyk(23.5%, 0%, 84.3%, 54.9%)
CIE-LABlab(44.77, -23.85, 45.70)
CIE-LCHlch(44.77, 51.55, 117.56°)
OKLaboklab(51.58% -0.0696 0.0999)
OKLCHoklch(51.58% 0.122 124.9)
XYZxyz(10.2645, 14.3797, 2.8069)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587312 #2D1273
analogous
#735D12 #587312 #277312
triadic
#587312 #125873 #731258
tetradic
#587312 #12735D #2D1273 #731227
square
#587312 #12735D #2D1273 #731227
split-complementary
#587312 #122773 #5D1273
monochromatic
#141A04 #303E0A #587312 #80A81A #A9DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587312#FFFFFF#000000##FFFFFF
##5873121.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)
#766A1D
Tritanopia (blue-blind)
#5D6D61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #587312;
/* rgb */ color: rgb(88, 115, 18);
/* oklch */ color: oklch(51.6% 0.122 124.9);
Tailwind
colors: {
  custom: {
    50: '#8b9b5a',
    500: '#587312',
    950: '#000000',
  },
}
SCSS
$custom: #587312;
$custom-light: #8b9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#587312",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 76.701,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.12175,
    "h": 124.9
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#587312
secondary
#5737AA
accent
#38F06B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587312

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

Preview Lab → · Contrast checker → · Palette generator →

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