#597218#597218

#597218 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#597218
RGBrgb(89, 114, 24)
HSLhsl(77, 65%, 27%)
HSVhsv(77, 79%, 45%)
CMYKcmyk(21.9%, 0%, 78.9%, 55.3%)
CIE-LABlab(44.55, -22.61, 43.55)
CIE-LCHlch(44.55, 49.07, 117.43°)
OKLaboklab(51.43% -0.0658 0.0964)
OKLCHoklch(51.43% 0.117 124.3)
XYZxyz(10.3021, 14.2243, 3.0668)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597218 #311872
analogous
#725E18 #597218 #2C7218
triadic
#597218 #185972 #721859
tetradic
#597218 #18725E #311872 #72182C
square
#597218 #18725E #311872 #72182C
split-complementary
#597218 #182C72 #5E1872
monochromatic
#141905 #323F0D #597218 #80A523 #A6D431

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##597218#FFFFFF#000000##FFFFFF
##5972181.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)
#796A04
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#5E6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #597218;
/* rgb */ color: rgb(89, 114, 24);
/* oklch */ color: oklch(51.4% 0.117 124.3);
Tailwind
colors: {
  custom: {
    50: '#8b9a5d',
    500: '#597218',
    950: '#000000',
  },
}
SCSS
$custom: #597218;
$custom-light: #8b9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#597218",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 76.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.11672,
    "h": 124.3
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#597218
secondary
#5C3EA7
accent
#40E86E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #597218

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

Preview Lab → · Contrast checker → · Palette generator →

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