#587918#587918

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

Color values

HEX#587918
RGBrgb(88, 121, 24)
HSLhsl(80, 67%, 28%)
HSVhsv(80, 80%, 47%)
CMYKcmyk(27.3%, 0%, 80.2%, 52.5%)
CIE-LABlab(46.73, -26.53, 45.58)
CIE-LCHlch(46.73, 52.74, 120.21°)
OKLaboklab(53.18% -0.0765 0.1007)
OKLCHoklch(53.18% 0.126 127.2)
XYZxyz(11.0268, 15.8152, 3.3357)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587918 #391879
analogous
#796918 #587918 #277918
triadic
#587918 #185879 #791858
tetradic
#587918 #187969 #391879 #791827
square
#587918 #187969 #391879 #791827
split-complementary
#587918 #182779 #691879
monochromatic
#131A05 #33460E #587918 #7DAC22 #A0D735

Accessibility & contrast

On white

5.04
#587918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #587918
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587918#FFFFFF#000000##FFFFFF
##5879181.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #587918;
/* rgb */ color: rgb(88, 121, 24);
/* oklch */ color: oklch(53.2% 0.126 127.2);
Tailwind
colors: {
  custom: {
    50: '#8ba05e',
    500: '#587918',
    950: '#000000',
  },
}
SCSS
$custom: #587918;
$custom-light: #8ba05e;
$custom-dark: #000000;
JSON
{
  "hex": "#587918",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 80.412,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.12642,
    "h": 127.2
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#587918
secondary
#653FAE
accent
#3EEA78
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #587918

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

Preview Lab → · Contrast checker → · Palette generator →

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