#587318#587318

#587318 is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.6% C 0.119 H 125.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#587318
RGBrgb(88, 115, 24)
HSLhsl(78, 65%, 27%)
HSVhsv(78, 79%, 45%)
CMYKcmyk(23.5%, 0%, 79.1%, 54.9%)
CIE-LABlab(44.80, -23.55, 43.76)
CIE-LCHlch(44.80, 49.70, 118.29°)
OKLaboklab(51.62% -0.0683 0.0969)
OKLCHoklch(51.62% 0.119 125.2)
XYZxyz(10.3202, 14.4020, 3.1001)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587318 #331873
analogous
#736118 #587318 #2B7318
triadic
#587318 #185873 #731858
tetradic
#587318 #187361 #331873 #73182B
square
#587318 #187361 #331873 #73182B
split-complementary
#587318 #182B73 #611873
monochromatic
#131905 #31400D #587318 #7FA623 #A4D431

Accessibility & contrast

On white

5.41
#587318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#587318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587318
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587318#FFFFFF#000000##FFFFFF
##5873181.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#5C6D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #587318;
/* rgb */ color: rgb(88, 115, 24);
/* oklch */ color: oklch(51.6% 0.119 125.2);
Tailwind
colors: {
  custom: {
    50: '#8a9b5d',
    500: '#587318',
    950: '#000000',
  },
}
SCSS
$custom: #587318;
$custom-light: #8a9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#587318",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 77.802,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.11855,
    "h": 125.2
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#587318
secondary
#5E3FA8
accent
#3FE872
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587318

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

Preview Lab → · Contrast checker → · Palette generator →

#587318 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva