#587F1F#587F1F

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

Color values

HEX#587F1F
RGBrgb(88, 127, 31)
HSLhsl(84, 61%, 31%)
HSVhsv(84, 76%, 50%)
CMYKcmyk(30.7%, 0%, 75.6%, 50.2%)
CIE-LABlab(48.70, -29.02, 44.95)
CIE-LCHlch(48.70, 53.51, 122.84°)
OKLaboklab(54.8% -0.0827 0.1006)
OKLCHoklch(54.8% 0.13 129.4)
XYZxyz(11.8612, 17.3520, 4.0204)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F1F #461F7F
analogous
#7F761F #587F1F #287F1F
triadic
#587F1F #1F587F #7F1F58
tetradic
#587F1F #1F7F76 #461F7F #7F1F28
square
#587F1F #1F7F76 #461F7F #7F1F28
split-complementary
#587F1F #1F287F #761F7F
monochromatic
#141D07 #364E13 #587F1F #7AB02B #99D246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587F1F#FFFFFF#000000##FFFFFF
##587F1F1.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)
#85750C
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#5B796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f1f;
/* rgb */ color: rgb(88, 127, 31);
/* oklch */ color: oklch(54.8% 0.130 129.4);
Tailwind
colors: {
  custom: {
    50: '#8ba462',
    500: '#587f1f',
    950: '#000000',
  },
}
SCSS
$custom: #587f1f;
$custom-light: #8ba462;
$custom-dark: #000000;
JSON
{
  "hex": "#587f1f",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 84.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.13017,
    "h": 129.4
  },
  "luminance": 0.17352
}

Semantic roles & 50–950 ramp

primary
#587F1F
secondary
#7348B2
accent
#44E485
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #587F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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