#587B15#587B15

#587B15 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.7% C 0.131 H 127.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#587B15
RGBrgb(88, 123, 21)
HSLhsl(81, 71%, 28%)
HSVhsv(81, 83%, 48%)
CMYKcmyk(28.5%, 0%, 82.9%, 51.8%)
CIE-LABlab(47.36, -27.66, 47.12)
CIE-LCHlch(47.36, 54.64, 120.41°)
OKLaboklab(53.69% -0.0797 0.1034)
OKLCHoklch(53.69% 0.131 127.6)
XYZxyz(11.2428, 16.2945, 3.2621)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B15 #38157B
analogous
#7B6B15 #587B15 #257B15
triadic
#587B15 #15587B #7B1558
tetradic
#587B15 #157B6B #38157B #7B1525
square
#587B15 #157B6B #38157B #7B1525
split-complementary
#587B15 #15257B #6B157B
monochromatic
#131A04 #33470C #587B15 #7DAF1E #A0DB2F

Accessibility & contrast

On white

4.93
#587B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#587B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B15
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B15#FFFFFF#000000##FFFFFF
##587B151.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#5C7568
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587b15;
/* rgb */ color: rgb(88, 123, 21);
/* oklch */ color: oklch(53.7% 0.131 127.6);
Tailwind
colors: {
  custom: {
    50: '#8ba15d',
    500: '#587b15',
    950: '#000000',
  },
}
SCSS
$custom: #587b15;
$custom-light: #8ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#587b15",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 80.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.13059,
    "h": 127.6
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#587B15
secondary
#643BB0
accent
#3AEE78
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #587B15

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

Preview Lab → · Contrast checker → · Palette generator →

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