#597312#597312

#597312 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.7% C 0.121 H 124.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#597312
RGBrgb(89, 115, 18)
HSLhsl(76, 73%, 26%)
HSVhsv(76, 84%, 45%)
CMYKcmyk(22.6%, 0%, 84.3%, 54.9%)
CIE-LABlab(44.84, -23.41, 45.79)
CIE-LCHlch(44.84, 51.42, 117.08°)
OKLaboklab(51.66% -0.0685 0.1)
OKLCHoklch(51.66% 0.121 124.4)
XYZxyz(10.3599, 14.4289, 2.8114)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597312 #2C1273
analogous
#735C12 #597312 #297312
triadic
#597312 #125973 #731259
tetradic
#597312 #12735C #2C1273 #731229
square
#597312 #12735C #2C1273 #731229
split-complementary
#597312 #122973 #5C1273
monochromatic
#141A04 #303E0A #597312 #82A81A #ABDD23

Accessibility & contrast

On white

5.40
#597312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#597312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597312
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597312#FFFFFF#000000##FFFFFF
##5973121.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#5E6D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #597312;
/* rgb */ color: rgb(89, 115, 18);
/* oklch */ color: oklch(51.7% 0.121 124.4);
Tailwind
colors: {
  custom: {
    50: '#8b9b5a',
    500: '#597312',
    950: '#000000',
  },
}
SCSS
$custom: #597312;
$custom-light: #8b9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#597312",
  "rgb": {
    "r": 89,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 76.082,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.12124,
    "h": 124.4
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#597312
secondary
#5637AA
accent
#38F069
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #597312

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

Preview Lab → · Contrast checker → · Palette generator →

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