#587012#587012

#587012 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.8% C 0.118 H 123.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#587012
RGBrgb(88, 112, 18)
HSLhsl(75, 72%, 25%)
HSVhsv(75, 84%, 44%)
CMYKcmyk(21.4%, 0%, 83.9%, 56.1%)
CIE-LABlab(43.81, -22.32, 44.83)
CIE-LCHlch(43.81, 50.09, 116.47°)
OKLaboklab(50.8% -0.0655 0.0981)
OKLCHoklch(50.8% 0.118 123.7)
XYZxyz(9.9280, 13.7066, 2.6948)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587012 #2A1270
analogous
#705912 #587012 #297012
triadic
#587012 #125870 #701258
tetradic
#587012 #127059 #2A1270 #701229
square
#587012 #127059 #2A1270 #701229
split-complementary
#587012 #122970 #591270
monochromatic
#151A04 #2F3B0A #587012 #81A51A #ABD923

Accessibility & contrast

On white

5.61
#587012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#587012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587012
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587012#FFFFFF#000000##FFFFFF
##5870121.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#5D6A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #587012;
/* rgb */ color: rgb(88, 112, 18);
/* oklch */ color: oklch(50.8% 0.118 123.7);
Tailwind
colors: {
  custom: {
    50: '#8a995a',
    500: '#587012',
    950: '#000000',
  },
}
SCSS
$custom: #587012;
$custom-light: #8a995a;
$custom-dark: #000000;
JSON
{
  "hex": "#587012",
  "rgb": {
    "r": 88,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 75.319,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.1179,
    "h": 123.7
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#587012
secondary
#5337A7
accent
#39EF67
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #587012

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

Preview Lab → · Contrast checker → · Palette generator →

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