#597A1F#597A1F

#597A1F is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.123 H 127.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#597A1F
RGBrgb(89, 122, 31)
HSLhsl(82, 59%, 30%)
HSVhsv(82, 75%, 48%)
CMYKcmyk(27%, 0%, 74.6%, 52.2%)
CIE-LABlab(47.16, -26.19, 43.45)
CIE-LCHlch(47.16, 50.73, 121.08°)
OKLaboklab(53.56% -0.075 0.0974)
OKLCHoklch(53.56% 0.123 127.6)
XYZxyz(11.3267, 16.1416, 3.8149)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597A1F #401F7A
analogous
#7A6D1F #597A1F #2C7A1F
triadic
#597A1F #1F597A #7A1F59
tetradic
#597A1F #1F7A6D #401F7A #7A1F2C
square
#597A1F #1F7A6D #401F7A #7A1F2C
split-complementary
#597A1F #1F2C7A #6D1F7A
monochromatic
#121806 #354913 #597A1F #7DAB2B #9DCF44

Accessibility & contrast

On white

4.97
#597A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#597A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597A1F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597A1F#FFFFFF#000000##FFFFFF
##597A1F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#5C7468
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #597a1f;
/* rgb */ color: rgb(89, 122, 31);
/* oklch */ color: oklch(53.6% 0.123 127.6);
Tailwind
colors: {
  custom: {
    50: '#8ba061',
    500: '#597a1f',
    950: '#000000',
  },
}
SCSS
$custom: #597a1f;
$custom-light: #8ba061;
$custom-dark: #000000;
JSON
{
  "hex": "#597a1f",
  "rgb": {
    "r": 89,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 81.758,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.12292,
    "h": 127.6
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#597A1F
secondary
#6C47AD
accent
#45E37E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #597A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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