#597F21#597F21

#597F21 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.128 H 129.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#597F21
RGBrgb(89, 127, 33)
HSLhsl(84, 59%, 31%)
HSVhsv(84, 74%, 50%)
CMYKcmyk(29.9%, 0%, 74%, 50.2%)
CIE-LABlab(48.78, -28.48, 44.28)
CIE-LCHlch(48.78, 52.65, 122.75°)
OKLaboklab(54.88% -0.0811 0.0994)
OKLCHoklch(54.88% 0.128 129.2)
XYZxyz(11.9837, 17.4121, 4.1680)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597F21 #47217F
analogous
#7F7621 #597F21 #2A7F21
triadic
#597F21 #21597F #7F2159
tetradic
#597F21 #217F76 #47217F #7F212A
square
#597F21 #217F76 #47217F #7F212A
split-complementary
#597F21 #212A7F #76217F
monochromatic
#151E08 #374E14 #597F21 #7BB02E #9AD04A

Accessibility & contrast

On white

4.68
#597F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#597F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597F21
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597F21#FFFFFF#000000##FFFFFF
##597F211.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857611
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#5C796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #597f21;
/* rgb */ color: rgb(89, 127, 33);
/* oklch */ color: oklch(54.9% 0.128 129.2);
Tailwind
colors: {
  custom: {
    50: '#8ba463',
    500: '#597f21',
    950: '#000000',
  },
}
SCSS
$custom: #597f21;
$custom-light: #8ba463;
$custom-dark: #000000;
JSON
{
  "hex": "#597f21",
  "rgb": {
    "r": 89,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 84.255,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.12832,
    "h": 129.2
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#597F21
secondary
#744AB2
accent
#46E285
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #597F21

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

Preview Lab → · Contrast checker → · Palette generator →

#597F21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva