#58791F#58791F

#58791F is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.2% C 0.122 H 127.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#58791F
RGBrgb(88, 121, 31)
HSLhsl(82, 59%, 30%)
HSVhsv(82, 74%, 47%)
CMYKcmyk(27.3%, 0%, 74.4%, 52.5%)
CIE-LABlab(46.77, -26.11, 43.05)
CIE-LCHlch(46.77, 50.35, 121.24°)
OKLaboklab(53.23% -0.0747 0.0966)
OKLCHoklch(53.23% 0.122 127.7)
XYZxyz(11.1092, 15.8481, 3.7698)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58791F #401F79
analogous
#796D1F #58791F #2B791F
triadic
#58791F #1F5879 #791F58
tetradic
#58791F #1F796D #401F79 #791F2B
square
#58791F #1F796D #401F79 #791F2B
split-complementary
#58791F #1F2B79 #6D1F79
monochromatic
#121806 #354813 #58791F #7BAA2B #9CCF43

Accessibility & contrast

On white

5.04
#58791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#58791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #58791F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58791F#FFFFFF#000000##FFFFFF
##58791F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#5B7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #58791f;
/* rgb */ color: rgb(88, 121, 31);
/* oklch */ color: oklch(53.2% 0.122 127.7);
Tailwind
colors: {
  custom: {
    50: '#8aa061',
    500: '#58791f',
    950: '#000000',
  },
}
SCSS
$custom: #58791f;
$custom-light: #8aa061;
$custom-dark: #000000;
JSON
{
  "hex": "#58791f",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 82,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53231,
    "c": 0.1221,
    "h": 127.7
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#58791F
secondary
#6C47AC
accent
#45E27F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #58791F

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

Preview Lab → · Contrast checker → · Palette generator →

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