#59791B#59791B

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

Color values

HEX#59791B
RGBrgb(89, 121, 27)
HSLhsl(80, 64%, 29%)
HSVhsv(80, 78%, 47%)
CMYKcmyk(26.4%, 0%, 77.7%, 52.5%)
CIE-LABlab(46.81, -25.95, 44.62)
CIE-LCHlch(46.81, 51.62, 120.17°)
OKLaboklab(53.27% -0.0747 0.0992)
OKLCHoklch(53.27% 0.124 127)
XYZxyz(11.1551, 15.8775, 3.5137)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59791B #3B1B79
analogous
#796A1B #59791B #2A791B
triadic
#59791B #1B5979 #791B59
tetradic
#59791B #1B796A #3B1B79 #791B2A
square
#59791B #1B796A #3B1B79 #791B2A
split-complementary
#59791B #1B2A79 #6A1B79
monochromatic
#121906 #344710 #59791B #7EAB26 #9FD33B

Accessibility & contrast

On white

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

On black

4.18
#59791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##59791B#FFFFFF#000000##FFFFFF
##59791B1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59791b;
/* rgb */ color: rgb(89, 121, 27);
/* oklch */ color: oklch(53.3% 0.124 127.0);
Tailwind
colors: {
  custom: {
    50: '#8ba05f',
    500: '#59791b',
    950: '#000000',
  },
}
SCSS
$custom: #59791b;
$custom-light: #8ba05f;
$custom-dark: #000000;
JSON
{
  "hex": "#59791b",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 80.426,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.12415,
    "h": 127
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#59791B
secondary
#6743AD
accent
#41E77A
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #59791B

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

Preview Lab → · Contrast checker → · Palette generator →

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