#597818#597818

#597818 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 53.0% C 0.125 H 126.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#597818
RGBrgb(89, 120, 24)
HSLhsl(79, 67%, 28%)
HSVhsv(79, 80%, 47%)
CMYKcmyk(25.8%, 0%, 80%, 52.9%)
CIE-LABlab(46.48, -25.62, 45.36)
CIE-LCHlch(46.48, 52.10, 119.46°)
OKLaboklab(52.99% -0.074 0.1002)
OKLCHoklch(52.99% 0.125 126.5)
XYZxyz(11.0012, 15.6225, 3.2998)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597818 #371878
analogous
#786718 #597818 #297818
triadic
#597818 #185978 #781859
tetradic
#597818 #187867 #371878 #781829
square
#597818 #187867 #371878 #781829
split-complementary
#597818 #182978 #671878
monochromatic
#131A05 #33450E #597818 #7FAB22 #A2D634

Accessibility & contrast

On white

5.09
#597818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#597818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597818
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597818#FFFFFF#000000##FFFFFF
##5978181.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F01
Deuteranopia (green-blind)
#7A6E22
Tritanopia (blue-blind)
#5D7266
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #597818;
/* rgb */ color: rgb(89, 120, 24);
/* oklch */ color: oklch(53.0% 0.125 126.5);
Tailwind
colors: {
  custom: {
    50: '#8b9f5e',
    500: '#597818',
    950: '#000000',
  },
}
SCSS
$custom: #597818;
$custom-light: #8b9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#597818",
  "rgb": {
    "r": 89,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 79.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.12459,
    "h": 126.5
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#597818
secondary
#623FAD
accent
#3EEA76
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #597818

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

Preview Lab → · Contrast checker → · Palette generator →

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