#597F1F#597F1F

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

Color values

HEX#597F1F
RGBrgb(89, 127, 31)
HSLhsl(84, 61%, 31%)
HSVhsv(84, 76%, 50%)
CMYKcmyk(29.9%, 0%, 75.6%, 50.2%)
CIE-LABlab(48.76, -28.62, 45.03)
CIE-LCHlch(48.76, 53.36, 122.43°)
OKLaboklab(54.86% -0.0816 0.1007)
OKLCHoklch(54.86% 0.13 129)
XYZxyz(11.9565, 17.4012, 4.0249)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597F1F #451F7F
analogous
#7F751F #597F1F #297F1F
triadic
#597F1F #1F597F #7F1F59
tetradic
#597F1F #1F7F75 #451F7F #7F1F29
square
#597F1F #1F7F75 #451F7F #7F1F29
split-complementary
#597F1F #1F297F #751F7F
monochromatic
#141D07 #374E13 #597F1F #7BB02B #9BD246

Accessibility & contrast

On white

4.69
#597F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #597F1F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597F1F#FFFFFF#000000##FFFFFF
##597F1F1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760C
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#5C796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #597f1f;
/* rgb */ color: rgb(89, 127, 31);
/* oklch */ color: oklch(54.9% 0.130 129.0);
Tailwind
colors: {
  custom: {
    50: '#8ba462',
    500: '#597f1f',
    950: '#000000',
  },
}
SCSS
$custom: #597f1f;
$custom-light: #8ba462;
$custom-dark: #000000;
JSON
{
  "hex": "#597f1f",
  "rgb": {
    "r": 89,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 83.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.12963,
    "h": 129
  },
  "luminance": 0.17402
}

Semantic roles & 50–950 ramp

primary
#597F1F
secondary
#7248B2
accent
#44E483
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #597F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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