#597228#597228

#597228 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.105 H 125.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#597228
RGBrgb(89, 114, 40)
HSLhsl(80, 48%, 30%)
HSVhsv(80, 65%, 45%)
CMYKcmyk(21.9%, 0%, 64.9%, 55.3%)
CIE-LABlab(44.68, -21.47, 36.96)
CIE-LCHlch(44.68, 42.74, 120.15°)
OKLaboklab(51.57% -0.0612 0.0851)
OKLCHoklch(51.57% 0.105 125.7)
XYZxyz(10.5202, 14.3115, 4.2152)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597228 #412872
analogous
#726628 #597228 #347228
triadic
#597228 #285972 #722859
tetradic
#597228 #287266 #412872 #722834
square
#597228 #287266 #412872 #722834
split-complementary
#597228 #283472 #662872
monochromatic
#121708 #364518 #597228 #7C9F38 #9CC252

Accessibility & contrast

On white

5.44
#597228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#597228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597228
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597228#FFFFFF#000000##FFFFFF
##5972281.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1F
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#5D6D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #597228;
/* rgb */ color: rgb(89, 114, 40);
/* oklch */ color: oklch(51.6% 0.105 125.7);
Tailwind
colors: {
  custom: {
    50: '#8a9a65',
    500: '#597228',
    950: '#000000',
  },
}
SCSS
$custom: #597228;
$custom-light: #8a9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#597228",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 80.27,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.10479,
    "h": 125.7
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#597228
secondary
#6D52A4
accent
#50D87E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #597228

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

Preview Lab → · Contrast checker → · Palette generator →

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