#597918#597918

#597918 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.3% C 0.126 H 126.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#597918
RGBrgb(89, 121, 24)
HSLhsl(80, 67%, 28%)
HSVhsv(80, 80%, 47%)
CMYKcmyk(26.4%, 0%, 80.2%, 52.5%)
CIE-LABlab(46.80, -26.11, 45.66)
CIE-LCHlch(46.80, 52.60, 119.76°)
OKLaboklab(53.25% -0.0754 0.1008)
OKLCHoklch(53.25% 0.126 126.8)
XYZxyz(11.1221, 15.8643, 3.3401)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#597918 #381879
analogous
#796818 #597918 #287918
triadic
#597918 #185979 #791859
tetradic
#597918 #187968 #381879 #791828
square
#597918 #187968 #381879 #791828
split-complementary
#597918 #182879 #681879
monochromatic
#131A05 #33460E #597918 #7FAC22 #A1D735

Accessibility & contrast

On white

5.03
#597918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#597918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #597918
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##597918#FFFFFF#000000##FFFFFF
##5979181.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#5D7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #597918;
/* rgb */ color: rgb(89, 121, 24);
/* oklch */ color: oklch(53.3% 0.126 126.8);
Tailwind
colors: {
  custom: {
    50: '#8ba05e',
    500: '#597918',
    950: '#000000',
  },
}
SCSS
$custom: #597918;
$custom-light: #8ba05e;
$custom-dark: #000000;
JSON
{
  "hex": "#597918",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 79.794,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.12589,
    "h": 126.8
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#597918
secondary
#643FAE
accent
#3EEA77
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #597918

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

Preview Lab → · Contrast checker → · Palette generator →

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