#5A6737#5A6737

#5A6737 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 49.1% C 0.072 H 121.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5A6737
RGBrgb(90, 103, 55)
HSLhsl(76, 30%, 31%)
HSVhsv(76, 47%, 40%)
CMYKcmyk(12.6%, 0%, 46.6%, 59.6%)
CIE-LABlab(41.45, -13.54, 25.37)
CIE-LCHlch(41.45, 28.76, 118.08°)
OKLaboklab(49.06% -0.0376 0.0614)
OKLCHoklch(49.06% 0.072 121.5)
XYZxyz(9.7563, 12.1500, 5.4449)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6737 #443767
analogous
#675C37 #5A6737 #426737
triadic
#5A6737 #375A67 #67375A
tetradic
#5A6737 #37675C #443767 #673742
square
#5A6737 #37675C #443767 #673742
split-complementary
#5A6737 #374267 #5C3767
monochromatic
#14170C #373F22 #5A6737 #7D8F4C #9CAF69

Accessibility & contrast

On white

6.12
#5A6737 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5A6737 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6737
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6737#FFFFFF#000000##FFFFFF
##5A67371.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6233
Deuteranopia (green-blind)
#6B623A
Tritanopia (blue-blind)
#5E635C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6737;
/* rgb */ color: rgb(90, 103, 55);
/* oklch */ color: oklch(49.1% 0.072 121.5);
Tailwind
colors: {
  custom: {
    50: '#89926f',
    500: '#5a6737',
    950: '#000000',
  },
}
SCSS
$custom: #5a6737;
$custom-light: #89926f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6737",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 55
  },
  "hsl": {
    "h": 76.25,
    "s": 30.38,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.07198,
    "h": 121.5
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#5A6737
secondary
#716297
accent
#61C77D
background
#F8F8F6
surface
#F0F0EC
border
#CBCBC7
text
#0C0D07
muted
#7D7D7A

Preview Lab

Preview with #5A6737

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

Preview Lab → · Contrast checker → · Palette generator →

#5A6737 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva