#587F18#587F18

#587F18 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.134 H 128.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#587F18
RGBrgb(88, 127, 24)
HSLhsl(83, 68%, 30%)
HSVhsv(83, 81%, 50%)
CMYKcmyk(30.7%, 0%, 81.1%, 50.2%)
CIE-LABlab(48.66, -29.42, 47.37)
CIE-LCHlch(48.66, 55.77, 121.85°)
OKLaboklab(54.75% -0.0843 0.1045)
OKLCHoklch(54.75% 0.134 128.9)
XYZxyz(11.7787, 17.3191, 3.5863)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F18 #3F187F
analogous
#7F7218 #587F18 #257F18
triadic
#587F18 #18587F #7F1858
tetradic
#587F18 #187F72 #3F187F #7F1825
square
#587F18 #187F72 #3F187F #7F1825
split-complementary
#587F18 #18257F #72187F
monochromatic
#121A05 #344C0E #587F18 #7CB222 #9CD938

Accessibility & contrast

On white

4.70
#587F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#587F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587F18
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587F18#FFFFFF#000000##FFFFFF
##587F181.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#5B796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f18;
/* rgb */ color: rgb(88, 127, 24);
/* oklch */ color: oklch(54.7% 0.134 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ba45f',
    500: '#587f18',
    950: '#000000',
  },
}
SCSS
$custom: #587f18;
$custom-light: #8ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#587f18",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 82.718,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54749,
    "c": 0.13424,
    "h": 128.9
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

primary
#587F18
secondary
#6B3FB3
accent
#3DEB7F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #587F18

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

Preview Lab → · Contrast checker → · Palette generator →

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