#58771B#58771B

#58771B is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.122 H 126.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#58771B
RGBrgb(88, 119, 27)
HSLhsl(80, 63%, 29%)
HSVhsv(80, 77%, 47%)
CMYKcmyk(26.1%, 0%, 77.3%, 53.3%)
CIE-LABlab(46.11, -25.38, 43.92)
CIE-LCHlch(46.11, 50.73, 120.02°)
OKLaboklab(52.68% -0.0731 0.0977)
OKLCHoklch(52.68% 0.122 126.8)
XYZxyz(10.8192, 15.3473, 3.4290)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58771B #3A1B77
analogous
#77681B #58771B #2A771B
triadic
#58771B #1B5877 #771B58
tetradic
#58771B #1B7768 #3A1B77 #771B2A
square
#58771B #1B7768 #3A1B77 #771B2A
split-complementary
#58771B #1B2A77 #681B77
monochromatic
#121906 #334510 #58771B #7DA926 #9FD23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##58771B#FFFFFF#000000##FFFFFF
##58771B1.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)
#7D6E07
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#5C7165
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #58771b;
/* rgb */ color: rgb(88, 119, 27);
/* oklch */ color: oklch(52.7% 0.122 126.8);
Tailwind
colors: {
  custom: {
    50: '#8a9e5f',
    500: '#58771b',
    950: '#000000',
  },
}
SCSS
$custom: #58771b;
$custom-light: #8a9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#58771b",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 80.217,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.12202,
    "h": 126.8
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#58771B
secondary
#6642AB
accent
#42E679
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #58771B

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

Preview Lab → · Contrast checker → · Palette generator →

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