#587213#587213

#587213 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.120 H 124.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#587213
RGBrgb(88, 114, 19)
HSLhsl(76, 71%, 26%)
HSVhsv(76, 83%, 45%)
CMYKcmyk(22.8%, 0%, 83.3%, 55.3%)
CIE-LABlab(44.46, -23.30, 45.11)
CIE-LCHlch(44.46, 50.77, 117.31°)
OKLaboklab(51.33% -0.0681 0.0988)
OKLCHoklch(51.33% 0.12 124.6)
XYZxyz(10.1595, 14.1562, 2.8132)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587213 #2D1372
analogous
#725C13 #587213 #287213
triadic
#587213 #135872 #721358
tetradic
#587213 #13725C #2D1372 #721328
square
#587213 #13725C #2D1372 #721328
split-complementary
#587213 #132872 #5C1372
monochromatic
#141A04 #303E0A #587213 #80A61C #A9DB25

Accessibility & contrast

On white

5.48
#587213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#587213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587213
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587213#FFFFFF#000000##FFFFFF
##5872131.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#5D6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587213;
/* rgb */ color: rgb(88, 114, 19);
/* oklch */ color: oklch(51.3% 0.120 124.6);
Tailwind
colors: {
  custom: {
    50: '#8a9a5a',
    500: '#587213',
    950: '#000000',
  },
}
SCSS
$custom: #587213;
$custom-light: #8a9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#587213",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 76.421,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.11998,
    "h": 124.6
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#587213
secondary
#5738A9
accent
#3AEE6B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587213

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

Preview Lab → · Contrast checker → · Palette generator →

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