#58771F#58771F

#58771F is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.7% C 0.119 H 127.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#58771F
RGBrgb(88, 119, 31)
HSLhsl(81, 59%, 29%)
HSVhsv(81, 74%, 47%)
CMYKcmyk(26.1%, 0%, 73.9%, 53.3%)
CIE-LABlab(46.13, -25.13, 42.41)
CIE-LCHlch(46.13, 49.29, 120.65°)
OKLaboklab(52.71% -0.072 0.0952)
OKLCHoklch(52.71% 0.119 127.1)
XYZxyz(10.8687, 15.3671, 3.6896)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58771F #3E1F77
analogous
#776A1F #58771F #2C771F
triadic
#58771F #1F5877 #771F58
tetradic
#58771F #1F776A #3E1F77 #771F2C
square
#58771F #1F776A #3E1F77 #771F2C
split-complementary
#58771F #1F2C77 #6A1F77
monochromatic
#121806 #344612 #58771F #7CA82C #9DCE43

Accessibility & contrast

On white

5.16
#58771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#58771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #58771F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58771F#FFFFFF#000000##FFFFFF
##58771F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F10
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#5C7166
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #58771f;
/* rgb */ color: rgb(88, 119, 31);
/* oklch */ color: oklch(52.7% 0.119 127.1);
Tailwind
colors: {
  custom: {
    50: '#8a9e61',
    500: '#58771f',
    950: '#000000',
  },
}
SCSS
$custom: #58771f;
$custom-light: #8a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#58771f",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 81.136,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5271,
    "c": 0.1194,
    "h": 127.1
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#58771F
secondary
#6A47AB
accent
#46E27D
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #58771F

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

Preview Lab → · Contrast checker → · Palette generator →

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