#587B18#587B18

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

Color values

HEX#587B18
RGBrgb(88, 123, 24)
HSLhsl(81, 67%, 29%)
HSVhsv(81, 80%, 48%)
CMYKcmyk(28.5%, 0%, 80.5%, 51.8%)
CIE-LABlab(47.37, -27.51, 46.18)
CIE-LCHlch(47.37, 53.75, 120.78°)
OKLaboklab(53.7% -0.0791 0.1019)
OKLCHoklch(53.7% 0.129 127.8)
XYZxyz(11.2724, 16.3063, 3.4175)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587B18 #3B187B
analogous
#7B6D18 #587B18 #277B18
triadic
#587B18 #18587B #7B1858
tetradic
#587B18 #187B6D #3B187B #7B1827
square
#587B18 #187B6D #3B187B #7B1827
split-complementary
#587B18 #18277B #6D187B
monochromatic
#121A05 #33480E #587B18 #7DAE22 #9ED836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587B18#FFFFFF#000000##FFFFFF
##587B181.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)
#827200
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#5B7569
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #587b18;
/* rgb */ color: rgb(88, 123, 24);
/* oklch */ color: oklch(53.7% 0.129 127.8);
Tailwind
colors: {
  custom: {
    50: '#8ba15e',
    500: '#587b18',
    950: '#000000',
  },
}
SCSS
$custom: #587b18;
$custom-light: #8ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#587b18",
  "rgb": {
    "r": 88,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 81.212,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.12904,
    "h": 127.8
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#587B18
secondary
#673FB0
accent
#3EEA7B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #587B18

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

Preview Lab → · Contrast checker → · Palette generator →

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