#587F1C#587F1C

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

Color values

HEX#587F1C
RGBrgb(88, 127, 28)
HSLhsl(84, 64%, 30%)
HSVhsv(84, 78%, 50%)
CMYKcmyk(30.7%, 0%, 78%, 50.2%)
CIE-LABlab(48.68, -29.20, 46.04)
CIE-LCHlch(48.68, 54.52, 122.39°)
OKLaboklab(54.78% -0.0834 0.1023)
OKLCHoklch(54.78% 0.132 129.2)
XYZxyz(11.8234, 17.3370, 3.8218)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587F1C #431C7F
analogous
#7F741C #587F1C #277F1C
triadic
#587F1C #1C587F #7F1C58
tetradic
#587F1C #1C7F74 #431C7F #7F1C27
square
#587F1C #1C7F74 #431C7F #7F1C27
split-complementary
#587F1C #1C277F #741C7F
monochromatic
#131B06 #354D11 #587F1C #7BB127 #9AD540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587F1C#FFFFFF#000000##FFFFFF
##587F1C1.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)
#857505
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#5B796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #587f1c;
/* rgb */ color: rgb(88, 127, 28);
/* oklch */ color: oklch(54.8% 0.132 129.2);
Tailwind
colors: {
  custom: {
    50: '#8ba460',
    500: '#587f1c',
    950: '#000000',
  },
}
SCSS
$custom: #587f1c;
$custom-light: #8ba460;
$custom-dark: #000000;
JSON
{
  "hex": "#587f1c",
  "rgb": {
    "r": 88,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 83.636,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54775,
    "c": 0.13202,
    "h": 129.2
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#587F1C
secondary
#7044B3
accent
#41E782
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #587F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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