#597117#597117

#597117 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.116 H 123.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#597117
RGBrgb(89, 113, 23)
HSLhsl(76, 66%, 27%)
HSVhsv(76, 80%, 44%)
CMYKcmyk(21.2%, 0%, 79.6%, 55.7%)
CIE-LABlab(44.23, -22.15, 43.60)
CIE-LCHlch(44.23, 48.90, 116.93°)
OKLaboklab(51.17% -0.0647 0.0963)
OKLCHoklch(51.17% 0.116 123.9)
XYZxyz(10.1797, 13.9959, 2.9756)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597117 #2F1771
analogous
#715C17 #597117 #2C7117
triadic
#597117 #175971 #711759
tetradic
#597117 #17715C #2F1771 #71172C
square
#597117 #17715C #2F1771 #71172C
split-complementary
#597117 #172C71 #5C1771
monochromatic
#141905 #313E0D #597117 #81A421 #A8D42E

Accessibility & contrast

On white

5.53
#597117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#597117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597117
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597117#FFFFFF#000000##FFFFFF
##5971171.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#5E6B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #597117;
/* rgb */ color: rgb(89, 113, 23);
/* oklch */ color: oklch(51.2% 0.116 123.9);
Tailwind
colors: {
  custom: {
    50: '#8b995c',
    500: '#597117',
    950: '#000000',
  },
}
SCSS
$custom: #597117;
$custom-light: #8b995c;
$custom-dark: #000000;
JSON
{
  "hex": "#597117",
  "rgb": {
    "r": 89,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 76,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.11601,
    "h": 123.9
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#597117
secondary
#593DA7
accent
#3FE96C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #597117

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

Preview Lab → · Contrast checker → · Palette generator →

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