#587112#587112

#587112 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.1% C 0.119 H 124.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#587112
RGBrgb(88, 113, 18)
HSLhsl(76, 73%, 26%)
HSVhsv(76, 84%, 44%)
CMYKcmyk(22.1%, 0%, 84.1%, 55.7%)
CIE-LABlab(44.13, -22.83, 45.12)
CIE-LCHlch(44.13, 50.57, 116.84°)
OKLaboklab(51.06% -0.0669 0.0987)
OKLCHoklch(51.06% 0.119 124.1)
XYZxyz(10.0389, 13.9285, 2.7317)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587112 #2B1271
analogous
#715A12 #587112 #297112
triadic
#587112 #125871 #711258
tetradic
#587112 #12715A #2B1271 #711229
square
#587112 #12715A #2B1271 #711229
split-complementary
#587112 #122971 #5A1271
monochromatic
#151A04 #2F3C0A #587112 #81A61A #AADB23

Accessibility & contrast

On white

5.55
#587112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#587112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587112
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587112#FFFFFF#000000##FFFFFF
##5871121.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#5D6B60
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #587112;
/* rgb */ color: rgb(88, 113, 18);
/* oklch */ color: oklch(51.1% 0.119 124.1);
Tailwind
colors: {
  custom: {
    50: '#8a9a5a',
    500: '#587112',
    950: '#000000',
  },
}
SCSS
$custom: #587112;
$custom-light: #8a9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#587112",
  "rgb": {
    "r": 88,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 75.789,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51063,
    "c": 0.11919,
    "h": 124.1
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#587112
secondary
#5537A8
accent
#39EF69
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587112

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

Preview Lab → · Contrast checker → · Palette generator →

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