#597418#597418

#597418 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.119 H 125.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#597418
RGBrgb(89, 116, 24)
HSLhsl(78, 66%, 27%)
HSVhsv(78, 79%, 45%)
CMYKcmyk(23.3%, 0%, 79.3%, 54.5%)
CIE-LABlab(45.19, -23.62, 44.16)
CIE-LCHlch(45.19, 50.08, 118.15°)
OKLaboklab(51.95% -0.0686 0.0977)
OKLCHoklch(51.95% 0.119 125.1)
XYZxyz(10.5302, 14.6804, 3.1428)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597418 #331874
analogous
#746118 #597418 #2B7418
triadic
#597418 #185974 #741859
tetradic
#597418 #187461 #331874 #74182B
square
#597418 #187461 #331874 #74182B
split-complementary
#597418 #182B74 #611874
monochromatic
#131905 #32410E #597418 #80A722 #A5D532

Accessibility & contrast

On white

5.34
#597418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#597418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597418
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597418#FFFFFF#000000##FFFFFF
##5974181.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#5D6E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #597418;
/* rgb */ color: rgb(89, 116, 24);
/* oklch */ color: oklch(52.0% 0.119 125.1);
Tailwind
colors: {
  custom: {
    50: '#8b9c5d',
    500: '#597418',
    950: '#000000',
  },
}
SCSS
$custom: #597418;
$custom-light: #8b9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#597418",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 77.609,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.11935,
    "h": 125.1
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#597418
secondary
#5E3FA9
accent
#3FE971
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #597418

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

Preview Lab → · Contrast checker → · Palette generator →

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