#59791F#59791F

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

Color values

HEX#59791F
RGBrgb(89, 121, 31)
HSLhsl(81, 59%, 30%)
HSVhsv(81, 74%, 47%)
CMYKcmyk(26.4%, 0%, 74.4%, 52.5%)
CIE-LABlab(46.84, -25.70, 43.13)
CIE-LCHlch(46.84, 50.21, 120.78°)
OKLaboklab(53.3% -0.0737 0.0967)
OKLCHoklch(53.3% 0.122 127.3)
XYZxyz(11.2045, 15.8973, 3.7742)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59791F #3F1F79
analogous
#796C1F #59791F #2C791F
triadic
#59791F #1F5979 #791F59
tetradic
#59791F #1F796C #3F1F79 #791F2C
square
#59791F #1F796C #3F1F79 #791F2C
split-complementary
#59791F #1F2C79 #6C1F79
monochromatic
#121806 #354813 #59791F #7DAA2B #9DCF43

Accessibility & contrast

On white

5.02
#59791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #59791F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59791F#FFFFFF#000000##FFFFFF
##59791F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59791f;
/* rgb */ color: rgb(89, 121, 31);
/* oklch */ color: oklch(53.3% 0.122 127.3);
Tailwind
colors: {
  custom: {
    50: '#8ba061',
    500: '#59791f',
    950: '#000000',
  },
}
SCSS
$custom: #59791f;
$custom-light: #8ba061;
$custom-dark: #000000;
JSON
{
  "hex": "#59791f",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 81.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.533,
    "c": 0.12157,
    "h": 127.3
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#59791F
secondary
#6B47AC
accent
#45E27D
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #59791F

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

Preview Lab → · Contrast checker → · Palette generator →

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