#587612#587612

#587612 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.4% C 0.126 H 125.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#587612
RGBrgb(88, 118, 18)
HSLhsl(78, 74%, 27%)
HSVhsv(78, 85%, 46%)
CMYKcmyk(25.4%, 0%, 84.7%, 53.7%)
CIE-LABlab(45.74, -25.34, 46.56)
CIE-LCHlch(45.74, 53.01, 118.56°)
OKLaboklab(52.36% -0.0737 0.1017)
OKLCHoklch(52.36% 0.126 125.9)
XYZxyz(10.6122, 15.0751, 2.9228)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587612 #301276
analogous
#766212 #587612 #267612
triadic
#587612 #125876 #761258
tetradic
#587612 #127662 #301276 #761226
square
#587612 #127662 #301276 #761226
split-complementary
#587612 #122676 #621276
monochromatic
#141B04 #30410A #587612 #80AB1A #A6DE25

Accessibility & contrast

On white

5.23
#587612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#587612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587612
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587612#FFFFFF#000000##FFFFFF
##5876121.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#5C7064
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #587612;
/* rgb */ color: rgb(88, 118, 18);
/* oklch */ color: oklch(52.4% 0.126 125.9);
Tailwind
colors: {
  custom: {
    50: '#8b9d5b',
    500: '#587612',
    950: '#000000',
  },
}
SCSS
$custom: #587612;
$custom-light: #8b9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#587612",
  "rgb": {
    "r": 88,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 78,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.1256,
    "h": 125.9
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#587612
secondary
#5A37AD
accent
#38F06F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587612

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

Preview Lab → · Contrast checker → · Palette generator →

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