#597217#597217

#597217 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.117 H 124.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#597217
RGBrgb(89, 114, 23)
HSLhsl(76, 66%, 27%)
HSVhsv(76, 80%, 45%)
CMYKcmyk(21.9%, 0%, 79.8%, 55.3%)
CIE-LABlab(44.55, -22.66, 43.90)
CIE-LCHlch(44.55, 49.40, 117.30°)
OKLaboklab(51.43% -0.0661 0.0969)
OKLCHoklch(51.43% 0.117 124.3)
XYZxyz(10.2919, 14.2202, 3.0130)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597217 #301772
analogous
#725E17 #597217 #2B7217
triadic
#597217 #175972 #721759
tetradic
#597217 #17725E #301772 #72172B
square
#597217 #17725E #301772 #72172B
split-complementary
#597217 #172B72 #5E1772
monochromatic
#141905 #313F0D #597217 #81A521 #A7D52E

Accessibility & contrast

On white

5.46
#597217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#597217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597217
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597217#FFFFFF#000000##FFFFFF
##5972171.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#5E6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #597217;
/* rgb */ color: rgb(89, 114, 23);
/* oklch */ color: oklch(51.4% 0.117 124.3);
Tailwind
colors: {
  custom: {
    50: '#8b9a5c',
    500: '#597217',
    950: '#000000',
  },
}
SCSS
$custom: #597217;
$custom-light: #8b9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#597217",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 76.484,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.11731,
    "h": 124.3
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#597217
secondary
#5A3DA8
accent
#3EE96D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #597217

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

Preview Lab → · Contrast checker → · Palette generator →

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