#58871F#58871F

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

Color values

HEX#58871F
RGBrgb(88, 135, 31)
HSLhsl(87, 63%, 33%)
HSVhsv(87, 77%, 53%)
CMYKcmyk(34.8%, 0%, 77%, 47.1%)
CIE-LABlab(51.27, -32.76, 47.46)
CIE-LCHlch(51.27, 57.67, 124.62°)
OKLaboklab(56.89% -0.0928 0.1058)
OKLCHoklch(56.89% 0.141 131.3)
XYZxyz(12.9357, 19.5011, 4.3786)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58871F #4E1F87
analogous
#87821F #58871F #24871F
triadic
#58871F #1F5887 #871F58
tetradic
#58871F #1F8782 #4E1F87 #871F24
square
#58871F #1F8782 #4E1F87 #871F24
split-complementary
#58871F #1F2487 #821F87
monochromatic
#172308 #385514 #58871F #78B92A #97D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##58871F#FFFFFF#000000##000000
##58871F1.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)
#8D7C08
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#5A8173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #58871f;
/* rgb */ color: rgb(88, 135, 31);
/* oklch */ color: oklch(56.9% 0.141 131.3);
Tailwind
colors: {
  custom: {
    50: '#8baa63',
    500: '#58871f',
    950: '#000000',
  },
}
SCSS
$custom: #58871f;
$custom-light: #8baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#58871f",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 87.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56888,
    "c": 0.14074,
    "h": 131.3
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#58871F
secondary
#7C4AB8
accent
#42E68C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #58871F

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

Preview Lab → · Contrast checker → · Palette generator →

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