#587F1A#587F1A

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

Color values

HEX#587F1A
RGBrgb(88, 127, 26)
HSLhsl(83, 66%, 30%)
HSVhsv(83, 80%, 50%)
CMYKcmyk(30.7%, 0%, 79.5%, 50.2%)
CIE-LABlab(48.67, -29.32, 46.72)
CIE-LCHlch(48.67, 55.16, 122.11°)
OKLaboklab(54.76% -0.0839 0.1034)
OKLCHoklch(54.76% 0.133 129)
XYZxyz(11.8003, 17.3277, 3.6999)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F1A #411A7F
analogous
#7F731A #587F1A #267F1A
triadic
#587F1A #1A587F #7F1A58
tetradic
#587F1A #1A7F73 #411A7F #7F1A26
square
#587F1A #1A7F73 #411A7F #7F1A26
split-complementary
#587F1A #1A267F #731A7F
monochromatic
#121905 #354C10 #587F1A #7BB224 #9BD73C

Accessibility & contrast

On white

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

On black

4.47
#587F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##587F1A#FFFFFF#000000##FFFFFF
##587F1A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #587f1a;
/* rgb */ color: rgb(88, 127, 26);
/* oklch */ color: oklch(54.8% 0.133 129.0);
Tailwind
colors: {
  custom: {
    50: '#8ba45f',
    500: '#587f1a',
    950: '#000000',
  },
}
SCSS
$custom: #587f1a;
$custom-light: #8ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#587f1a",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 83.168,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.13316,
    "h": 129
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#587F1A
secondary
#6E42B3
accent
#3FE981
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #587F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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