#58841F#58841F

#58841F is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.1% C 0.137 H 130.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#58841F
RGBrgb(88, 132, 31)
HSLhsl(86, 62%, 32%)
HSVhsv(86, 77%, 52%)
CMYKcmyk(33.3%, 0%, 76.5%, 48.2%)
CIE-LABlab(50.31, -31.37, 46.52)
CIE-LCHlch(50.31, 56.12, 123.99°)
OKLaboklab(56.1% -0.0891 0.1038)
OKLCHoklch(56.1% 0.137 130.6)
XYZxyz(12.5230, 18.6757, 4.2410)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58841F #4B1F84
analogous
#847E1F #58841F #25841F
triadic
#58841F #1F5884 #841F58
tetradic
#58841F #1F847E #4B1F84 #841F25
square
#58841F #1F847E #4B1F84 #841F25
split-complementary
#58841F #1F2584 #7E1F84
monochromatic
#162108 #375213 #58841F #79B62B #98D449

Accessibility & contrast

On white

4.43
#58841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#58841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #58841F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58841F#FFFFFF#000000##000000
##58841F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0A
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#5A7E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #58841f;
/* rgb */ color: rgb(88, 132, 31);
/* oklch */ color: oklch(56.1% 0.137 130.6);
Tailwind
colors: {
  custom: {
    50: '#8ba863',
    500: '#58841f',
    950: '#000000',
  },
}
SCSS
$custom: #58841f;
$custom-light: #8ba863;
$custom-dark: #000000;
JSON
{
  "hex": "#58841f",
  "rgb": {
    "r": 88,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 86.139,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.13681,
    "h": 130.6
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#58841F
secondary
#7848B7
accent
#43E589
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #58841F

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

Preview Lab → · Contrast checker → · Palette generator →

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