#597822#597822

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

Color values

HEX#597822
RGBrgb(89, 120, 34)
HSLhsl(82, 56%, 30%)
HSVhsv(82, 72%, 47%)
CMYKcmyk(25.8%, 0%, 71.7%, 52.9%)
CIE-LABlab(46.54, -24.99, 41.61)
CIE-LCHlch(46.54, 48.54, 120.99°)
OKLaboklab(53.07% -0.0715 0.094)
OKLCHoklch(53.07% 0.118 127.2)
XYZxyz(11.1250, 15.6721, 3.9520)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597822 #412278
analogous
#786C22 #597822 #2E7822
triadic
#597822 #225978 #782259
tetradic
#597822 #22786C #412278 #78222E
square
#597822 #22786C #412278 #78222E
split-complementary
#597822 #222E78 #6C2278
monochromatic
#121907 #364814 #597822 #7CA830 #9CCB49

Accessibility & contrast

On white

5.08
#597822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#597822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597822
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597822#FFFFFF#000000##FFFFFF
##5978221.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7015
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#5C7267
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #597822;
/* rgb */ color: rgb(89, 120, 34);
/* oklch */ color: oklch(53.1% 0.118 127.2);
Tailwind
colors: {
  custom: {
    50: '#8b9f63',
    500: '#597822',
    950: '#000000',
  },
}
SCSS
$custom: #597822;
$custom-light: #8b9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#597822",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 81.628,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.11808,
    "h": 127.2
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#597822
secondary
#6D4BAB
accent
#49DF7F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #597822

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

Preview Lab → · Contrast checker → · Palette generator →

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