#587E1B#587E1B

#587E1B is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.5% C 0.131 H 128.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#587E1B
RGBrgb(88, 126, 27)
HSLhsl(83, 65%, 30%)
HSVhsv(83, 79%, 49%)
CMYKcmyk(30.2%, 0%, 78.6%, 50.6%)
CIE-LABlab(48.35, -28.79, 46.08)
CIE-LCHlch(48.35, 54.33, 121.99°)
OKLaboklab(54.51% -0.0824 0.1022)
OKLCHoklch(54.51% 0.131 128.9)
XYZxyz(11.6832, 17.0752, 3.7170)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587E1B #411B7E
analogous
#7E721B #587E1B #277E1B
triadic
#587E1B #1B587E #7E1B58
tetradic
#587E1B #1B7E72 #411B7E #7E1B27
square
#587E1B #1B7E72 #411B7E #7E1B27
split-complementary
#587E1B #1B277E #721B7E
monochromatic
#121905 #354C10 #587E1B #7BB026 #9BD63E

Accessibility & contrast

On white

4.76
#587E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#587E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587E1B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587E1B#FFFFFF#000000##FFFFFF
##587E1B1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847504
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#5B786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #587e1b;
/* rgb */ color: rgb(88, 126, 27);
/* oklch */ color: oklch(54.5% 0.131 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ba360',
    500: '#587e1b',
    950: '#000000',
  },
}
SCSS
$custom: #587e1b;
$custom-light: #8ba360;
$custom-dark: #000000;
JSON
{
  "hex": "#587e1b",
  "rgb": {
    "r": 88,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 83.03,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.13129,
    "h": 128.9
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#587E1B
secondary
#6E43B2
accent
#40E880
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #587E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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