#587D1F#587D1F

#587D1F is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.127 H 128.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#587D1F
RGBrgb(88, 125, 31)
HSLhsl(84, 60%, 31%)
HSVhsv(84, 75%, 49%)
CMYKcmyk(29.6%, 0%, 75.2%, 51%)
CIE-LABlab(48.06, -28.06, 44.32)
CIE-LCHlch(48.06, 52.46, 122.34°)
OKLaboklab(54.27% -0.0801 0.0992)
OKLCHoklch(54.27% 0.127 128.9)
XYZxyz(11.6054, 16.8406, 3.9352)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D1F #441F7D
analogous
#7D731F #587D1F #297D1F
triadic
#587D1F #1F587D #7D1F58
tetradic
#587D1F #1F7D73 #441F7D #7D1F29
square
#587D1F #1F7D73 #441F7D #7D1F29
split-complementary
#587D1F #1F297D #731F7D
monochromatic
#131B07 #354C13 #587D1F #7BAE2B #9AD145

Accessibility & contrast

On white

4.81
#587D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#587D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587D1F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D1F#FFFFFF#000000##FFFFFF
##587D1F1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#5B776B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d1f;
/* rgb */ color: rgb(88, 125, 31);
/* oklch */ color: oklch(54.3% 0.127 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ba362',
    500: '#587d1f',
    950: '#000000',
  },
}
SCSS
$custom: #587d1f;
$custom-light: #8ba362;
$custom-dark: #000000;
JSON
{
  "hex": "#587d1f",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 83.617,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.12749,
    "h": 128.9
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#587D1F
secondary
#7148B0
accent
#44E383
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #587D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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