#58791B#58791B

#58791B 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#58791B
RGBrgb(88, 121, 27)
HSLhsl(81, 64%, 29%)
HSVhsv(81, 78%, 47%)
CMYKcmyk(27.3%, 0%, 77.7%, 52.5%)
CIE-LABlab(46.75, -26.37, 44.54)
CIE-LCHlch(46.75, 51.76, 120.62°)
OKLaboklab(53.2% -0.0758 0.099)
OKLCHoklch(53.2% 0.125 127.4)
XYZxyz(11.0597, 15.8284, 3.5092)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58791B #3C1B79
analogous
#796B1B #58791B #29791B
triadic
#58791B #1B5879 #791B58
tetradic
#58791B #1B796B #3C1B79 #791B29
square
#58791B #1B796B #3C1B79 #791B29
split-complementary
#58791B #1B2979 #6B1B79
monochromatic
#121906 #344710 #58791B #7CAB26 #9ED33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##58791B#FFFFFF#000000##FFFFFF
##58791B1.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)
#7F7006
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#5C7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #58791b;
/* rgb */ color: rgb(88, 121, 27);
/* oklch */ color: oklch(53.2% 0.125 127.4);
Tailwind
colors: {
  custom: {
    50: '#8aa05f',
    500: '#58791b',
    950: '#000000',
  },
}
SCSS
$custom: #58791b;
$custom-light: #8aa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#58791b",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 81.064,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.12468,
    "h": 127.4
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#58791B
secondary
#6843AD
accent
#41E77B
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #58791B

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

Preview Lab → · Contrast checker → · Palette generator →

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