#587315#587315

#587315 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.6% C 0.120 H 125.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#587315
RGBrgb(88, 115, 21)
HSLhsl(77, 69%, 27%)
HSVhsv(77, 82%, 45%)
CMYKcmyk(23.5%, 0%, 81.7%, 54.9%)
CIE-LABlab(44.79, -23.71, 44.77)
CIE-LCHlch(44.79, 50.66, 117.90°)
OKLaboklab(51.6% -0.069 0.0985)
OKLCHoklch(51.6% 0.12 125)
XYZxyz(10.2907, 14.3902, 2.9448)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587315 #301573
analogous
#735F15 #587315 #297315
triadic
#587315 #155873 #731558
tetradic
#587315 #15735F #301573 #731529
square
#587315 #15735F #301573 #731529
split-complementary
#587315 #152973 #5F1573
monochromatic
#141A05 #303F0C #587315 #80A71E #A6D82A

Accessibility & contrast

On white

5.42
#587315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #587315
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587315#FFFFFF#000000##FFFFFF
##5873151.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #587315;
/* rgb */ color: rgb(88, 115, 21);
/* oklch */ color: oklch(51.6% 0.120 125.0);
Tailwind
colors: {
  custom: {
    50: '#8a9b5b',
    500: '#587315',
    950: '#000000',
  },
}
SCSS
$custom: #587315;
$custom-light: #8a9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#587315",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 77.234,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.516,
    "c": 0.12023,
    "h": 125
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#587315
secondary
#5A3BA9
accent
#3CEC6E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587315

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

Preview Lab → · Contrast checker → · Palette generator →

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