#587D1B#587D1B

#587D1B is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.2% C 0.130 H 128.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#587D1B
RGBrgb(88, 125, 27)
HSLhsl(83, 64%, 30%)
HSVhsv(83, 78%, 49%)
CMYKcmyk(29.6%, 0%, 78.4%, 51%)
CIE-LABlab(48.03, -28.31, 45.77)
CIE-LCHlch(48.03, 53.82, 121.73°)
OKLaboklab(54.25% -0.0811 0.1016)
OKLCHoklch(54.25% 0.13 128.6)
XYZxyz(11.5559, 16.8208, 3.6746)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587D1B #401B7D
analogous
#7D711B #587D1B #277D1B
triadic
#587D1B #1B587D #7D1B58
tetradic
#587D1B #1B7D71 #401B7D #7D1B27
square
#587D1B #1B7D71 #401B7D #7D1B27
split-complementary
#587D1B #1B277D #711B7D
monochromatic
#121905 #354B10 #587D1B #7BAF26 #9CD53D

Accessibility & contrast

On white

4.81
#587D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#587D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587D1B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587D1B#FFFFFF#000000##FFFFFF
##587D1B1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837404
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#5B776B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #587d1b;
/* rgb */ color: rgb(88, 125, 27);
/* oklch */ color: oklch(54.2% 0.130 128.6);
Tailwind
colors: {
  custom: {
    50: '#8ba360',
    500: '#587d1b',
    950: '#000000',
  },
}
SCSS
$custom: #587d1b;
$custom-light: #8ba360;
$custom-dark: #000000;
JSON
{
  "hex": "#587d1b",
  "rgb": {
    "r": 88,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 82.653,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.12997,
    "h": 128.6
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#587D1B
secondary
#6C43B1
accent
#40E77F
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #587D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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