#58841B#58841B

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

Color values

HEX#58841B
RGBrgb(88, 132, 27)
HSLhsl(85, 66%, 31%)
HSVhsv(85, 80%, 52%)
CMYKcmyk(33.3%, 0%, 79.5%, 48.2%)
CIE-LABlab(50.28, -31.61, 47.90)
CIE-LCHlch(50.28, 57.39, 123.42°)
OKLaboklab(56.08% -0.09 0.1061)
OKLCHoklch(56.08% 0.139 130.3)
XYZxyz(12.4735, 18.6559, 3.9805)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58841B #471B84
analogous
#847B1B #58841B #23841B
triadic
#58841B #1B5884 #841B58
tetradic
#58841B #1B847B #471B84 #841B23
square
#58841B #1B847B #471B84 #841B23
split-complementary
#58841B #1B2384 #7B1B84
monochromatic
#141E06 #365111 #58841B #7AB725 #99D841

Accessibility & contrast

On white

4.44
#58841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#58841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #58841B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58841B#FFFFFF#000000##000000
##58841B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#5A7E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #58841b;
/* rgb */ color: rgb(88, 132, 27);
/* oklch */ color: oklch(56.1% 0.139 130.3);
Tailwind
colors: {
  custom: {
    50: '#8ba861',
    500: '#58841b',
    950: '#000000',
  },
}
SCSS
$custom: #58841b;
$custom-light: #8ba861;
$custom-dark: #000000;
JSON
{
  "hex": "#58841b",
  "rgb": {
    "r": 88,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 85.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.13912,
    "h": 130.3
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#58841B
secondary
#7443B7
accent
#3FE986
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #58841B

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

Preview Lab → · Contrast checker → · Palette generator →

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