#587C1B#587C1B

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

Color values

HEX#587C1B
RGBrgb(88, 124, 27)
HSLhsl(82, 64%, 30%)
HSVhsv(82, 78%, 49%)
CMYKcmyk(29%, 0%, 78.2%, 51.4%)
CIE-LABlab(47.71, -27.82, 45.46)
CIE-LCHlch(47.71, 53.30, 121.47°)
OKLaboklab(53.98% -0.0797 0.101)
OKLCHoklch(53.98% 0.129 128.3)
XYZxyz(11.4300, 16.5689, 3.6326)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587C1B #3F1B7C
analogous
#7C701B #587C1B #287C1B
triadic
#587C1B #1B587C #7C1B58
tetradic
#587C1B #1B7C70 #3F1B7C #7C1B28
square
#587C1B #1B7C70 #3F1B7C #7C1B28
split-complementary
#587C1B #1B287C #701B7C
monochromatic
#121905 #344A10 #587C1B #7CAE26 #9CD53D

Accessibility & contrast

On white

4.87
#587C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#587C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587C1B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587C1B#FFFFFF#000000##FFFFFF
##587C1B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827305
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#5B766A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #587c1b;
/* rgb */ color: rgb(88, 124, 27);
/* oklch */ color: oklch(54.0% 0.129 128.3);
Tailwind
colors: {
  custom: {
    50: '#8ba260',
    500: '#587c1b',
    950: '#000000',
  },
}
SCSS
$custom: #587c1b;
$custom-light: #8ba260;
$custom-dark: #000000;
JSON
{
  "hex": "#587c1b",
  "rgb": {
    "r": 88,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 82.268,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.12865,
    "h": 128.3
  },
  "luminance": 0.16569
}

Semantic roles & 50–950 ramp

primary
#587C1B
secondary
#6B43B0
accent
#41E77E
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #587C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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