#597828#597828

#597828 is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.1% C 0.113 H 127.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#597828
RGBrgb(89, 120, 40)
HSLhsl(83, 50%, 31%)
HSVhsv(83, 67%, 47%)
CMYKcmyk(25.8%, 0%, 66.7%, 52.9%)
CIE-LABlab(46.59, -24.52, 39.03)
CIE-LCHlch(46.59, 46.10, 122.14°)
OKLaboklab(53.12% -0.0696 0.0895)
OKLCHoklch(53.12% 0.113 127.9)
XYZxyz(11.2193, 15.7098, 4.4483)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597828 #472878
analogous
#786F28 #597828 #317828
triadic
#597828 #285978 #782859
tetradic
#597828 #28786F #472878 #782831
square
#597828 #28786F #472878 #782831
split-complementary
#597828 #283178 #6F2878
monochromatic
#151C09 #374A19 #597828 #7BA637 #9AC654

Accessibility & contrast

On white

5.07
#597828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#597828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597828
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597828#FFFFFF#000000##FFFFFF
##5978281.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701E
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#5C7367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #597828;
/* rgb */ color: rgb(89, 120, 40);
/* oklch */ color: oklch(53.1% 0.113 127.9);
Tailwind
colors: {
  custom: {
    50: '#8a9f66',
    500: '#597828',
    950: '#000000',
  },
}
SCSS
$custom: #597828;
$custom-light: #8a9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#597828",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 83.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.11336,
    "h": 127.9
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#597828
secondary
#7452AA
accent
#4EDA84
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #597828

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

Preview Lab → · Contrast checker → · Palette generator →

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