#587512#587512

#587512 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.124 H 125.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#587512
RGBrgb(88, 117, 18)
HSLhsl(78, 73%, 26%)
HSVhsv(78, 85%, 46%)
CMYKcmyk(24.8%, 0%, 84.6%, 54.1%)
CIE-LABlab(45.42, -24.85, 46.27)
CIE-LCHlch(45.42, 52.52, 118.23°)
OKLaboklab(52.1% -0.0723 0.1011)
OKLCHoklch(52.1% 0.124 125.6)
XYZxyz(10.4951, 14.8408, 2.8838)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587512 #2F1275
analogous
#756112 #587512 #277512
triadic
#587512 #125875 #751258
tetradic
#587512 #127561 #2F1275 #751227
square
#587512 #127561 #2F1275 #751227
split-complementary
#587512 #122775 #611275
monochromatic
#141B04 #30400A #587512 #80AA1A #A7DD24

Accessibility & contrast

On white

5.29
#587512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#587512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587512
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587512#FFFFFF#000000##FFFFFF
##5875121.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#5C6F63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #587512;
/* rgb */ color: rgb(88, 117, 18);
/* oklch */ color: oklch(52.1% 0.124 125.6);
Tailwind
colors: {
  custom: {
    50: '#8b9d5b',
    500: '#587512',
    950: '#000000',
  },
}
SCSS
$custom: #587512;
$custom-light: #8b9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#587512",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 77.576,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.12432,
    "h": 125.6
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#587512
secondary
#5937AC
accent
#38F06E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587512

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

Preview Lab → · Contrast checker → · Palette generator →

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