#597817#597817

#597817 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 53.0% C 0.125 H 126.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#597817
RGBrgb(89, 120, 23)
HSLhsl(79, 68%, 28%)
HSVhsv(79, 81%, 47%)
CMYKcmyk(25.8%, 0%, 80.8%, 52.9%)
CIE-LABlab(46.47, -25.67, 45.69)
CIE-LCHlch(46.47, 52.41, 119.33°)
OKLaboklab(52.99% -0.0743 0.1007)
OKLCHoklch(52.99% 0.125 126.4)
XYZxyz(10.9910, 15.6185, 3.2460)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597817 #361778
analogous
#786617 #597817 #297817
triadic
#597817 #175978 #781759
tetradic
#597817 #177866 #361778 #781729
square
#597817 #177866 #361778 #781729
split-complementary
#597817 #172978 #661778
monochromatic
#131A05 #33450D #597817 #7FAB21 #A3D832

Accessibility & contrast

On white

5.09
#597817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#597817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597817
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597817#FFFFFF#000000##FFFFFF
##5978171.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#5D7266
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #597817;
/* rgb */ color: rgb(89, 120, 23);
/* oklch */ color: oklch(53.0% 0.125 126.4);
Tailwind
colors: {
  custom: {
    50: '#8b9f5d',
    500: '#597817',
    950: '#000000',
  },
}
SCSS
$custom: #597817;
$custom-light: #8b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#597817",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 79.175,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.12514,
    "h": 126.4
  },
  "luminance": 0.15619
}

Semantic roles & 50–950 ramp

primary
#597817
secondary
#613EAD
accent
#3DEB75
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #597817

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

Preview Lab → · Contrast checker → · Palette generator →

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