#596918#596918

#596918 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.105 H 120.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#596918
RGBrgb(89, 105, 24)
HSLhsl(72, 63%, 25%)
HSVhsv(72, 77%, 41%)
CMYKcmyk(15.2%, 0%, 77.1%, 58.8%)
CIE-LABlab(41.68, -17.91, 40.80)
CIE-LCHlch(41.68, 44.56, 113.70°)
OKLaboklab(49.11% -0.0529 0.0906)
OKLCHoklch(49.11% 0.105 120.3)
XYZxyz(9.3364, 12.2930, 2.7449)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#596918 #281869
analogous
#695018 #596918 #306918
triadic
#596918 #185969 #691859
tetradic
#596918 #186950 #281869 #691830
square
#596918 #186950 #281869 #691830
split-complementary
#596918 #183069 #501869
monochromatic
#151906 #2F370D #596918 #839B23 #ADCD2F

Accessibility & contrast

On white

6.07
#596918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#596918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #596918
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##596918#FFFFFF#000000##FFFFFF
##5969181.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706208
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#5E6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #596918;
/* rgb */ color: rgb(89, 105, 24);
/* oklch */ color: oklch(49.1% 0.105 120.3);
Tailwind
colors: {
  custom: {
    50: '#8b935b',
    500: '#596918',
    950: '#000000',
  },
}
SCSS
$custom: #596918;
$custom-light: #8b935b;
$custom-dark: #000000;
JSON
{
  "hex": "#596918",
  "rgb": {
    "r": 89,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 71.852,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.10494,
    "h": 120.3
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#596918
secondary
#513E9F
accent
#42E662
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #596918

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

Preview Lab → · Contrast checker → · Palette generator →

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