#587C1F#587C1F

#587C1F is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.0% C 0.126 H 128.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#587C1F
RGBrgb(88, 124, 31)
HSLhsl(83, 60%, 30%)
HSVhsv(83, 75%, 49%)
CMYKcmyk(29%, 0%, 75%, 51.4%)
CIE-LABlab(47.74, -27.58, 44.00)
CIE-LCHlch(47.74, 51.93, 122.08°)
OKLaboklab(54.01% -0.0787 0.0986)
OKLCHoklch(54.01% 0.126 128.6)
XYZxyz(11.4795, 16.5887, 3.8932)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587C1F #431F7C
analogous
#7C711F #587C1F #297C1F
triadic
#587C1F #1F587C #7C1F58
tetradic
#587C1F #1F7C71 #431F7C #7C1F29
square
#587C1F #1F7C71 #431F7C #7C1F29
split-complementary
#587C1F #1F297C #711F7C
monochromatic
#131A07 #354B13 #587C1F #7BAD2B #9AD045

Accessibility & contrast

On white

4.86
#587C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#587C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587C1F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587C1F#FFFFFF#000000##FFFFFF
##587C1F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730E
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#5B766A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587c1f;
/* rgb */ color: rgb(88, 124, 31);
/* oklch */ color: oklch(54.0% 0.126 128.6);
Tailwind
colors: {
  custom: {
    50: '#8aa261',
    500: '#587c1f',
    950: '#000000',
  },
}
SCSS
$custom: #587c1f;
$custom-light: #8aa261;
$custom-dark: #000000;
JSON
{
  "hex": "#587c1f",
  "rgb": {
    "r": 88,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 83.226,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54013,
    "c": 0.12615,
    "h": 128.6
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#587C1F
secondary
#7048AF
accent
#45E382
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F05
muted
#7D7E7A

Preview Lab

Preview with #587C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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