#597212#597212

#597212 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.120 H 124.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#597212
RGBrgb(89, 114, 18)
HSLhsl(76, 73%, 26%)
HSVhsv(76, 84%, 45%)
CMYKcmyk(21.9%, 0%, 84.2%, 55.3%)
CIE-LABlab(44.52, -22.90, 45.50)
CIE-LCHlch(44.52, 50.94, 116.72°)
OKLaboklab(51.4% -0.0671 0.0994)
OKLCHoklch(51.4% 0.12 124)
XYZxyz(10.2464, 14.2021, 2.7736)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597212 #2B1272
analogous
#725B12 #597212 #297212
triadic
#597212 #125972 #721259
tetradic
#597212 #12725B #2B1272 #721229
square
#597212 #12725B #2B1272 #721229
split-complementary
#597212 #122972 #5B1272
monochromatic
#151A04 #303D0A #597212 #82A71A #ACDC23

Accessibility & contrast

On white

5.47
#597212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #597212
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597212#FFFFFF#000000##FFFFFF
##5972121.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#5E6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #597212;
/* rgb */ color: rgb(89, 114, 18);
/* oklch */ color: oklch(51.4% 0.120 124.0);
Tailwind
colors: {
  custom: {
    50: '#8b9a5a',
    500: '#597212',
    950: '#000000',
  },
}
SCSS
$custom: #597212;
$custom-light: #8b9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#597212",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 75.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51397,
    "c": 0.11996,
    "h": 124
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#597212
secondary
#5537A9
accent
#38EF68
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #597212

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

Preview Lab → · Contrast checker → · Palette generator →

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