#59791A#59791A

#59791A is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.3% C 0.125 H 126.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#59791A
RGBrgb(89, 121, 26)
HSLhsl(80, 65%, 29%)
HSVhsv(80, 79%, 47%)
CMYKcmyk(26.4%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.81, -26.00, 44.98)
CIE-LCHlch(46.81, 51.95, 120.03°)
OKLaboklab(53.26% -0.0749 0.0997)
OKLCHoklch(53.26% 0.125 126.9)
XYZxyz(11.1437, 15.8730, 3.4538)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59791A #3A1A79
analogous
#796A1A #59791A #29791A
triadic
#59791A #1A5979 #791A59
tetradic
#59791A #1A796A #3A1A79 #791A29
square
#59791A #1A796A #3A1A79 #791A29
split-complementary
#59791A #1A2979 #6A1A79
monochromatic
#131905 #34470F #59791A #7EAB25 #A0D439

Accessibility & contrast

On white

5.03
#59791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#59791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #59791A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59791A#FFFFFF#000000##FFFFFF
##59791A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59791a;
/* rgb */ color: rgb(89, 121, 26);
/* oklch */ color: oklch(53.3% 0.125 126.9);
Tailwind
colors: {
  custom: {
    50: '#8ba05f',
    500: '#59791a',
    950: '#000000',
  },
}
SCSS
$custom: #59791a;
$custom-light: #8ba05f;
$custom-dark: #000000;
JSON
{
  "hex": "#59791a",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 80.211,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.12475,
    "h": 126.9
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#59791A
secondary
#6641AD
accent
#40E879
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #59791A

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

Preview Lab → · Contrast checker → · Palette generator →

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