#58791C#58791C

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

Color values

HEX#58791C
RGBrgb(88, 121, 28)
HSLhsl(81, 62%, 29%)
HSVhsv(81, 77%, 47%)
CMYKcmyk(27.3%, 0%, 76.9%, 52.5%)
CIE-LABlab(46.75, -26.31, 44.18)
CIE-LCHlch(46.75, 51.42, 120.77°)
OKLaboklab(53.21% -0.0755 0.0984)
OKLCHoklch(53.21% 0.124 127.5)
XYZxyz(11.0715, 15.8331, 3.5712)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58791C #3D1C79
analogous
#796C1C #58791C #2A791C
triadic
#58791C #1C5879 #791C58
tetradic
#58791C #1C796C #3D1C79 #791C2A
square
#58791C #1C796C #3D1C79 #791C2A
split-complementary
#58791C #1C2A79 #6C1C79
monochromatic
#121906 #344710 #58791C #7CAB28 #9DD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##58791C#FFFFFF#000000##FFFFFF
##58791C1.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)
#7F7009
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#5B7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #58791c;
/* rgb */ color: rgb(88, 121, 28);
/* oklch */ color: oklch(53.2% 0.124 127.5);
Tailwind
colors: {
  custom: {
    50: '#8aa060',
    500: '#58791c',
    950: '#000000',
  },
}
SCSS
$custom: #58791c;
$custom-light: #8aa060;
$custom-dark: #000000;
JSON
{
  "hex": "#58791c",
  "rgb": {
    "r": 88,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 81.29,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.12406,
    "h": 127.5
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#58791C
secondary
#6944AD
accent
#42E57C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #58791C

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

Preview Lab → · Contrast checker → · Palette generator →

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