#587522#587522

#587522 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.2% C 0.114 H 126.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#587522
RGBrgb(88, 117, 34)
HSLhsl(81, 55%, 30%)
HSVhsv(81, 71%, 46%)
CMYKcmyk(24.8%, 0%, 70.9%, 54.1%)
CIE-LABlab(45.51, -23.91, 40.53)
CIE-LCHlch(45.51, 47.06, 120.54°)
OKLaboklab(52.22% -0.0684 0.0918)
OKLCHoklch(52.22% 0.114 126.7)
XYZxyz(10.6746, 14.9126, 3.8291)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587522 #3F2275
analogous
#756922 #587522 #2E7522
triadic
#587522 #225875 #752258
tetradic
#587522 #227569 #3F2275 #75222E
square
#587522 #227569 #3F2275 #75222E
split-complementary
#587522 #222E75 #692275
monochromatic
#121807 #344614 #587522 #7CA430 #9CCA48

Accessibility & contrast

On white

5.27
#587522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#587522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587522
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587522#FFFFFF#000000##FFFFFF
##5875221.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#5C6F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #587522;
/* rgb */ color: rgb(88, 117, 34);
/* oklch */ color: oklch(52.2% 0.114 126.7);
Tailwind
colors: {
  custom: {
    50: '#8a9d62',
    500: '#587522',
    950: '#000000',
  },
}
SCSS
$custom: #587522;
$custom-light: #8a9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#587522",
  "rgb": {
    "r": 88,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 80.964,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.11447,
    "h": 126.7
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#587522
secondary
#6B4BA8
accent
#49DE7D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #587522

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

Preview Lab → · Contrast checker → · Palette generator →

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