#587E1F#587E1F

#587E1F is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.5% C 0.129 H 129.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#587E1F
RGBrgb(88, 126, 31)
HSLhsl(84, 61%, 31%)
HSVhsv(84, 75%, 49%)
CMYKcmyk(30.2%, 0%, 75.4%, 50.6%)
CIE-LABlab(48.38, -28.54, 44.64)
CIE-LCHlch(48.38, 52.98, 122.60°)
OKLaboklab(54.54% -0.0814 0.0999)
OKLCHoklch(54.54% 0.129 129.2)
XYZxyz(11.7326, 17.0950, 3.9776)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587E1F #451F7E
analogous
#7E741F #587E1F #287E1F
triadic
#587E1F #1F587E #7E1F58
tetradic
#587E1F #1F7E74 #451F7E #7E1F28
square
#587E1F #1F7E74 #451F7E #7E1F28
split-complementary
#587E1F #1F287E #741F7E
monochromatic
#131C07 #364D13 #587E1F #7AAF2B #9AD146

Accessibility & contrast

On white

4.75
#587E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#587E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587E1F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587E1F#FFFFFF#000000##FFFFFF
##587E1F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750D
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#5B786C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #587e1f;
/* rgb */ color: rgb(88, 126, 31);
/* oklch */ color: oklch(54.5% 0.129 129.2);
Tailwind
colors: {
  custom: {
    50: '#8ba362',
    500: '#587e1f',
    950: '#000000',
  },
}
SCSS
$custom: #587e1f;
$custom-light: #8ba362;
$custom-dark: #000000;
JSON
{
  "hex": "#587e1f",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 84,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.12883,
    "h": 129.2
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#587E1F
secondary
#7248B1
accent
#44E484
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #587E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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