#587B1A#587B1A

#587B1A is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.7% C 0.128 H 128.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#587B1A
RGBrgb(88, 123, 26)
HSLhsl(82, 65%, 29%)
HSVhsv(82, 79%, 48%)
CMYKcmyk(28.5%, 0%, 78.9%, 51.8%)
CIE-LABlab(47.38, -27.40, 45.51)
CIE-LCHlch(47.38, 53.12, 121.05°)
OKLaboklab(53.72% -0.0787 0.1009)
OKLCHoklch(53.72% 0.128 128)
XYZxyz(11.2939, 16.3149, 3.5311)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B1A #3D1A7B
analogous
#7B6E1A #587B1A #287B1A
triadic
#587B1A #1A587B #7B1A58
tetradic
#587B1A #1A7B6E #3D1A7B #7B1A28
square
#587B1A #1A7B6E #3D1A7B #7B1A28
split-complementary
#587B1A #1A287B #6E1A7B
monochromatic
#121905 #34480F #587B1A #7CAE25 #9DD53A

Accessibility & contrast

On white

4.93
#587B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#587B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587B1A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B1A#FFFFFF#000000##FFFFFF
##587B1A1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#5B7569
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587b1a;
/* rgb */ color: rgb(88, 123, 26);
/* oklch */ color: oklch(53.7% 0.128 128.0);
Tailwind
colors: {
  custom: {
    50: '#8ba15f',
    500: '#587b1a',
    950: '#000000',
  },
}
SCSS
$custom: #587b1a;
$custom-light: #8ba15f;
$custom-dark: #000000;
JSON
{
  "hex": "#587b1a",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 81.649,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53716,
    "c": 0.12792,
    "h": 128
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#587B1A
secondary
#6942AF
accent
#40E87C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #587B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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