#587F1B#587F1B

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

Color values

HEX#587F1B
RGBrgb(88, 127, 27)
HSLhsl(83, 65%, 30%)
HSVhsv(83, 79%, 50%)
CMYKcmyk(30.7%, 0%, 78.7%, 50.2%)
CIE-LABlab(48.68, -29.26, 46.38)
CIE-LCHlch(48.68, 54.84, 122.25°)
OKLaboklab(54.77% -0.0836 0.1029)
OKLCHoklch(54.77% 0.133 129.1)
XYZxyz(11.8117, 17.3323, 3.7598)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F1B #421B7F
analogous
#7F741B #587F1B #267F1B
triadic
#587F1B #1B587F #7F1B58
tetradic
#587F1B #1B7F74 #421B7F #7F1B26
square
#587F1B #1B7F74 #421B7F #7F1B26
split-complementary
#587F1B #1B267F #741B7F
monochromatic
#121A06 #354D10 #587F1B #7BB126 #9BD63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587F1B#FFFFFF#000000##FFFFFF
##587F1B1.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)
#857503
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#5B796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f1b;
/* rgb */ color: rgb(88, 127, 27);
/* oklch */ color: oklch(54.8% 0.133 129.1);
Tailwind
colors: {
  custom: {
    50: '#8ba460',
    500: '#587f1b',
    950: '#000000',
  },
}
SCSS
$custom: #587f1b;
$custom-light: #8ba460;
$custom-dark: #000000;
JSON
{
  "hex": "#587f1b",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 83.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.1326,
    "h": 129.1
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#587F1B
secondary
#6F43B3
accent
#40E881
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #587F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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