#58871A#58871A

#58871A is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.9% C 0.144 H 130.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#58871A
RGBrgb(88, 135, 26)
HSLhsl(86, 68%, 32%)
HSVhsv(86, 81%, 53%)
CMYKcmyk(34.8%, 0%, 80.7%, 47.1%)
CIE-LABlab(51.24, -33.04, 49.13)
CIE-LCHlch(51.24, 59.20, 123.93°)
OKLaboklab(56.86% -0.094 0.1085)
OKLCHoklch(56.86% 0.144 130.9)
XYZxyz(12.8748, 19.4768, 4.0581)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58871A #491A87
analogous
#87801A #58871A #21871A
triadic
#58871A #1A5887 #871A58
tetradic
#58871A #1A8780 #491A87 #871A21
square
#58871A #1A8780 #491A87 #871A21
split-complementary
#58871A #1A2187 #801A87
monochromatic
#152006 #375410 #58871A #79BA24 #98DA41

Accessibility & contrast

On white

4.29
#58871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#58871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #58871A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58871A#FFFFFF#000000##000000
##58871A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#5A8173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #58871a;
/* rgb */ color: rgb(88, 135, 26);
/* oklch */ color: oklch(56.9% 0.144 130.9);
Tailwind
colors: {
  custom: {
    50: '#8caa61',
    500: '#58871a',
    950: '#000000',
  },
}
SCSS
$custom: #58871a;
$custom-light: #8caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#58871a",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 85.872,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.14351,
    "h": 130.9
  },
  "luminance": 0.19477
}

Semantic roles & 50–950 ramp

primary
#58871A
secondary
#7642BA
accent
#3DEB88
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #58871A

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

Preview Lab → · Contrast checker → · Palette generator →

#58871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva