#587B1F#587B1F

#587B1F is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.8% C 0.125 H 128.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#587B1F
RGBrgb(88, 123, 31)
HSLhsl(83, 60%, 30%)
HSVhsv(83, 75%, 48%)
CMYKcmyk(28.5%, 0%, 74.8%, 51.8%)
CIE-LABlab(47.42, -27.09, 43.69)
CIE-LCHlch(47.42, 51.40, 121.81°)
OKLaboklab(53.75% -0.0774 0.0979)
OKLCHoklch(53.75% 0.125 128.3)
XYZxyz(11.3548, 16.3393, 3.8516)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B1F #421F7B
analogous
#7B701F #587B1F #2A7B1F
triadic
#587B1F #1F587B #7B1F58
tetradic
#587B1F #1F7B70 #421F7B #7B1F2A
square
#587B1F #1F7B70 #421F7B #7B1F2A
split-complementary
#587B1F #1F2A7B #701F7B
monochromatic
#121906 #354A13 #587B1F #7BAC2B #9BD044

Accessibility & contrast

On white

4.92
#587B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#587B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B1F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B1F#FFFFFF#000000##FFFFFF
##587B1F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#5B7569
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587b1f;
/* rgb */ color: rgb(88, 123, 31);
/* oklch */ color: oklch(53.8% 0.125 128.3);
Tailwind
colors: {
  custom: {
    50: '#8aa161',
    500: '#587b1f',
    950: '#000000',
  },
}
SCSS
$custom: #587b1f;
$custom-light: #8aa161;
$custom-dark: #000000;
JSON
{
  "hex": "#587b1f",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 82.826,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.12481,
    "h": 128.3
  },
  "luminance": 0.1634
}

Semantic roles & 50–950 ramp

primary
#587B1F
secondary
#6F48AE
accent
#45E381
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F05
muted
#7D7E7A

Preview Lab

Preview with #587B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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