#58791A#58791A

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

Color values

HEX#58791A
RGBrgb(88, 121, 26)
HSLhsl(81, 65%, 29%)
HSVhsv(81, 79%, 47%)
CMYKcmyk(27.3%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.74, -26.42, 44.89)
CIE-LCHlch(46.74, 52.09, 120.48°)
OKLaboklab(53.19% -0.076 0.0996)
OKLCHoklch(53.19% 0.125 127.4)
XYZxyz(11.0484, 15.8238, 3.4493)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58791A #3B1A79
analogous
#796B1A #58791A #29791A
triadic
#58791A #1A5879 #791A58
tetradic
#58791A #1A796B #3B1A79 #791A29
square
#58791A #1A796B #3B1A79 #791A29
split-complementary
#58791A #1A2979 #6B1A79
monochromatic
#121905 #33470F #58791A #7DAB25 #9ED439

Accessibility & contrast

On white

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

On black

4.16
#58791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##58791A#FFFFFF#000000##FFFFFF
##58791A1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#5C7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #58791a;
/* rgb */ color: rgb(88, 121, 26);
/* oklch */ color: oklch(53.2% 0.125 127.4);
Tailwind
colors: {
  custom: {
    50: '#8ba05f',
    500: '#58791a',
    950: '#000000',
  },
}
SCSS
$custom: #58791a;
$custom-light: #8ba05f;
$custom-dark: #000000;
JSON
{
  "hex": "#58791a",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 80.842,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.12528,
    "h": 127.4
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#58791A
secondary
#6741AD
accent
#40E87A
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #58791A

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

Preview Lab → · Contrast checker → · Palette generator →

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