#587B1B#587B1B

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

Color values

HEX#587B1B
RGBrgb(88, 123, 27)
HSLhsl(82, 64%, 29%)
HSVhsv(82, 78%, 48%)
CMYKcmyk(28.5%, 0%, 78%, 51.8%)
CIE-LABlab(47.39, -27.34, 45.16)
CIE-LCHlch(47.39, 52.79, 121.19°)
OKLaboklab(53.72% -0.0784 0.1003)
OKLCHoklch(53.72% 0.127 128)
XYZxyz(11.3053, 16.3195, 3.5910)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B1B #3E1B7B
analogous
#7B6E1B #587B1B #287B1B
triadic
#587B1B #1B587B #7B1B58
tetradic
#587B1B #1B7B6E #3E1B7B #7B1B28
square
#587B1B #1B7B6E #3E1B7B #7B1B28
split-complementary
#587B1B #1B287B #6E1B7B
monochromatic
#121906 #344910 #587B1B #7CAD26 #9DD43C

Accessibility & contrast

On white

4.92
#587B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #587B1B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587B1B#FFFFFF#000000##FFFFFF
##587B1B1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #587b1b;
/* rgb */ color: rgb(88, 123, 27);
/* oklch */ color: oklch(53.7% 0.127 128.0);
Tailwind
colors: {
  custom: {
    50: '#8ba15f',
    500: '#587b1b',
    950: '#000000',
  },
}
SCSS
$custom: #587b1b;
$custom-light: #8ba15f;
$custom-dark: #000000;
JSON
{
  "hex": "#587b1b",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 81.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53723,
    "c": 0.12732,
    "h": 128
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#587B1B
secondary
#6A43AF
accent
#41E77D
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #587B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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