#587E12#587E12

#587E12 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.5% C 0.136 H 128.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#587E12
RGBrgb(88, 126, 18)
HSLhsl(81, 75%, 28%)
HSVhsv(81, 86%, 49%)
CMYKcmyk(30.2%, 0%, 85.7%, 50.6%)
CIE-LABlab(48.31, -29.22, 48.84)
CIE-LCHlch(48.31, 56.91, 120.90°)
OKLaboklab(54.46% -0.0842 0.1066)
OKLCHoklch(54.46% 0.136 128.3)
XYZxyz(11.5946, 17.0398, 3.2503)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587E12 #38127E
analogous
#7E6E12 #587E12 #227E12
triadic
#587E12 #12587E #7E1258
tetradic
#587E12 #127E6E #38127E #7E1222
square
#587E12 #127E6E #38127E #7E1222
split-complementary
#587E12 #12227E #6E127E
monochromatic
#131B04 #33480A #587E12 #7DB41A #A0E12A

Accessibility & contrast

On white

4.76
#587E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#587E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587E12
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587E12#FFFFFF#000000##FFFFFF
##587E121.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#5B786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #587e12;
/* rgb */ color: rgb(88, 126, 18);
/* oklch */ color: oklch(54.5% 0.136 128.3);
Tailwind
colors: {
  custom: {
    50: '#8ba35c',
    500: '#587e12',
    950: '#000000',
  },
}
SCSS
$custom: #587e12;
$custom-light: #8ba35c;
$custom-dark: #000000;
JSON
{
  "hex": "#587e12",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 81.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.1358,
    "h": 128.3
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#587E12
secondary
#6438B4
accent
#36F278
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #587E12

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

Preview Lab → · Contrast checker → · Palette generator →

#587E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva