#58811F#58811F

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

Color values

HEX#58811F
RGBrgb(88, 129, 31)
HSLhsl(85, 61%, 31%)
HSVhsv(85, 76%, 51%)
CMYKcmyk(31.8%, 0%, 76%, 49.4%)
CIE-LABlab(49.34, -29.97, 45.58)
CIE-LCHlch(49.34, 54.55, 123.32°)
OKLaboklab(55.32% -0.0853 0.1019)
OKLCHoklch(55.32% 0.133 129.9)
XYZxyz(12.1220, 17.8738, 4.1074)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58811F #481F81
analogous
#81791F #58811F #27811F
triadic
#58811F #1F5881 #811F58
tetradic
#58811F #1F8179 #481F81 #811F27
square
#58811F #1F8179 #481F81 #811F27
split-complementary
#58811F #1F2781 #791F81
monochromatic
#151E07 #365013 #58811F #7AB22B #99D347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##58811F#FFFFFF#000000##FFFFFF
##58811F1.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)
#87770B
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#5A7B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #58811f;
/* rgb */ color: rgb(88, 129, 31);
/* oklch */ color: oklch(55.3% 0.133 129.9);
Tailwind
colors: {
  custom: {
    50: '#8ba662',
    500: '#58811f',
    950: '#000000',
  },
}
SCSS
$custom: #58811f;
$custom-light: #8ba662;
$custom-dark: #000000;
JSON
{
  "hex": "#58811f",
  "rgb": {
    "r": 88,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 85.102,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55318,
    "c": 0.13284,
    "h": 129.9
  },
  "luminance": 0.17874
}

Semantic roles & 50–950 ramp

primary
#58811F
secondary
#7548B4
accent
#43E487
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #58811F

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

Preview Lab → · Contrast checker → · Palette generator →

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