#597917#597917

#597917 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.126 H 126.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#597917
RGBrgb(89, 121, 23)
HSLhsl(80, 68%, 28%)
HSVhsv(80, 81%, 47%)
CMYKcmyk(26.4%, 0%, 81%, 52.5%)
CIE-LABlab(46.79, -26.16, 45.99)
CIE-LCHlch(46.79, 52.91, 119.64°)
OKLaboklab(53.25% -0.0756 0.1013)
OKLCHoklch(53.25% 0.126 126.7)
XYZxyz(11.1119, 15.8602, 3.2863)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597917 #371779
analogous
#796817 #597917 #287917
triadic
#597917 #175979 #791759
tetradic
#597917 #177968 #371779 #791728
square
#597917 #177968 #371779 #791728
split-complementary
#597917 #172879 #681779
monochromatic
#131A05 #33460D #597917 #7FAC21 #A2D832

Accessibility & contrast

On white

5.03
#597917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#597917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##597917#FFFFFF#000000##FFFFFF
##5979171.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)
#807000
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#5D7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #597917;
/* rgb */ color: rgb(89, 121, 23);
/* oklch */ color: oklch(53.2% 0.126 126.7);
Tailwind
colors: {
  custom: {
    50: '#8ba05d',
    500: '#597917',
    950: '#000000',
  },
}
SCSS
$custom: #597917;
$custom-light: #8ba05d;
$custom-dark: #000000;
JSON
{
  "hex": "#597917",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 79.592,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.12644,
    "h": 126.7
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#597917
secondary
#623EAE
accent
#3DEB76
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #597917

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

Preview Lab → · Contrast checker → · Palette generator →

#597917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva