#587916#587916

#587916 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.2% C 0.128 H 127.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#587916
RGBrgb(88, 121, 22)
HSLhsl(80, 69%, 28%)
HSVhsv(80, 82%, 47%)
CMYKcmyk(27.3%, 0%, 81.8%, 52.5%)
CIE-LABlab(46.72, -26.64, 46.23)
CIE-LCHlch(46.72, 53.35, 119.95°)
OKLaboklab(53.17% -0.0769 0.1017)
OKLCHoklch(53.17% 0.128 127.1)
XYZxyz(11.0067, 15.8072, 3.2301)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587916 #371679
analogous
#796816 #587916 #267916
triadic
#587916 #165879 #791658
tetradic
#587916 #167968 #371679 #791626
square
#587916 #167968 #371679 #791626
split-complementary
#587916 #162679 #681679
monochromatic
#131A05 #32450D #587916 #7EAD1F #A1D930

Accessibility & contrast

On white

5.05
#587916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#587916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587916
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587916#FFFFFF#000000##FFFFFF
##5879161.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#5C7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #587916;
/* rgb */ color: rgb(88, 121, 22);
/* oklch */ color: oklch(53.2% 0.128 127.1);
Tailwind
colors: {
  custom: {
    50: '#8ba05d',
    500: '#587916',
    950: '#000000',
  },
}
SCSS
$custom: #587916;
$custom-light: #8ba05d;
$custom-dark: #000000;
JSON
{
  "hex": "#587916",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 80,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.1275,
    "h": 127.1
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#587916
secondary
#623DAE
accent
#3CEC77
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #587916

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

Preview Lab → · Contrast checker → · Palette generator →

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