#587212#587212

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

Color values

HEX#587212
RGBrgb(88, 114, 18)
HSLhsl(76, 73%, 26%)
HSVhsv(76, 84%, 45%)
CMYKcmyk(22.8%, 0%, 84.2%, 55.3%)
CIE-LABlab(44.45, -23.34, 45.41)
CIE-LCHlch(44.45, 51.06, 117.20°)
OKLaboklab(51.32% -0.0682 0.0993)
OKLCHoklch(51.32% 0.12 124.5)
XYZxyz(10.1511, 14.1529, 2.7691)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587212 #2C1272
analogous
#725C12 #587212 #287212
triadic
#587212 #125872 #721258
tetradic
#587212 #12725C #2C1272 #721228
square
#587212 #12725C #2C1272 #721228
split-complementary
#587212 #122872 #5C1272
monochromatic
#141A04 #2F3D0A #587212 #81A71A #AADC23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##587212#FFFFFF#000000##FFFFFF
##5872121.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)
#75691C
Tritanopia (blue-blind)
#5D6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #587212;
/* rgb */ color: rgb(88, 114, 18);
/* oklch */ color: oklch(51.3% 0.120 124.5);
Tailwind
colors: {
  custom: {
    50: '#8a9a5a',
    500: '#587212',
    950: '#000000',
  },
}
SCSS
$custom: #587212;
$custom-light: #8a9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#587212",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 76.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.12047,
    "h": 124.5
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#587212
secondary
#5637A9
accent
#38EF6A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #587212

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

Preview Lab → · Contrast checker → · Palette generator →

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