#58871B#58871B

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

Color values

HEX#58871B
RGBrgb(88, 135, 27)
HSLhsl(86, 67%, 32%)
HSVhsv(86, 80%, 53%)
CMYKcmyk(34.8%, 0%, 80%, 47.1%)
CIE-LABlab(51.25, -32.99, 48.81)
CIE-LCHlch(51.25, 58.91, 124.06°)
OKLaboklab(56.86% -0.0937 0.108)
OKLCHoklch(56.86% 0.143 131)
XYZxyz(12.8862, 19.4813, 4.1180)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58871B #4A1B87
analogous
#87801B #58871B #22871B
triadic
#58871B #1B5887 #871B58
tetradic
#58871B #1B8780 #4A1B87 #871B22
square
#58871B #1B8780 #4A1B87 #871B22
split-complementary
#58871B #1B2287 #801B87
monochromatic
#162107 #375411 #58871B #79BA25 #98D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##58871B#FFFFFF#000000##000000
##58871B1.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)
#877927
Tritanopia (blue-blind)
#5A8173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #58871b;
/* rgb */ color: rgb(88, 135, 27);
/* oklch */ color: oklch(56.9% 0.143 131.0);
Tailwind
colors: {
  custom: {
    50: '#8caa61',
    500: '#58871b',
    950: '#000000',
  },
}
SCSS
$custom: #58871b;
$custom-light: #8caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#58871b",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 86.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56862,
    "c": 0.14299,
    "h": 131
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#58871B
secondary
#7744BA
accent
#3EEA89
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #58871B

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

Preview Lab → · Contrast checker → · Palette generator →

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