#58811B#58811B

#58811B is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.135 H 129.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#58811B
RGBrgb(88, 129, 27)
HSLhsl(84, 65%, 31%)
HSVhsv(84, 79%, 51%)
CMYKcmyk(31.8%, 0%, 79.1%, 49.4%)
CIE-LABlab(49.32, -30.21, 46.99)
CIE-LCHlch(49.32, 55.86, 122.73°)
OKLaboklab(55.29% -0.0862 0.1042)
OKLCHoklch(55.29% 0.135 129.6)
XYZxyz(12.0725, 17.8540, 3.8468)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58811B #441B81
analogous
#81771B #58811B #25811B
triadic
#58811B #1B5881 #811B58
tetradic
#58811B #1B8177 #441B81 #811B25
square
#58811B #1B8177 #441B81 #811B25
split-complementary
#58811B #1B2581 #771B81
monochromatic
#131C06 #354E10 #58811B #7BB426 #9AD73F

Accessibility & contrast

On white

4.59
#58811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#58811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #58811B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58811B#FFFFFF#000000##FFFFFF
##58811B1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877702
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#5B7B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #58811b;
/* rgb */ color: rgb(88, 129, 27);
/* oklch */ color: oklch(55.3% 0.135 129.6);
Tailwind
colors: {
  custom: {
    50: '#8ba660',
    500: '#58811b',
    950: '#000000',
  },
}
SCSS
$custom: #58811b;
$custom-light: #8ba660;
$custom-dark: #000000;
JSON
{
  "hex": "#58811b",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 84.118,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.13522,
    "h": 129.6
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#58811B
secondary
#7143B5
accent
#3FE883
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #58811B

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

Preview Lab → · Contrast checker → · Palette generator →

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