#5A6736#5A6736

#5A6736 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 49.0% C 0.073 H 121.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5A6736
RGBrgb(90, 103, 54)
HSLhsl(76, 31%, 31%)
HSVhsv(76, 48%, 40%)
CMYKcmyk(12.6%, 0%, 47.6%, 59.6%)
CIE-LABlab(41.44, -13.66, 25.92)
CIE-LCHlch(41.44, 29.30, 117.79°)
OKLaboklab(49.04% -0.0381 0.0625)
OKLCHoklch(49.04% 0.073 121.3)
XYZxyz(9.7326, 12.1405, 5.3199)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6736 #433667
analogous
#675B36 #5A6736 #416736
triadic
#5A6736 #365A67 #67365A
tetradic
#5A6736 #36675B #433667 #673641
square
#5A6736 #36675B #433667 #673641
split-complementary
#5A6736 #364167 #5B3667
monochromatic
#14170C #373F21 #5A6736 #7D8F4B #9DB068

Accessibility & contrast

On white

6.13
#5A6736 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6736
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6736#FFFFFF#000000##FFFFFF
##5A67361.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6232
Deuteranopia (green-blind)
#6B6239
Tritanopia (blue-blind)
#5E635B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6736;
/* rgb */ color: rgb(90, 103, 54);
/* oklch */ color: oklch(49.0% 0.073 121.3);
Tailwind
colors: {
  custom: {
    50: '#89926e',
    500: '#5a6736',
    950: '#000000',
  },
}
SCSS
$custom: #5a6736;
$custom-light: #89926e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6736",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 54
  },
  "hsl": {
    "h": 75.918,
    "s": 31.21,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.07319,
    "h": 121.3
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#5A6736
secondary
#706198
accent
#60C77C
background
#F8F8F6
surface
#F0F0EC
border
#CBCBC7
text
#0C0D07
muted
#7D7D7A

Preview Lab

Preview with #5A6736

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

Preview Lab → · Contrast checker → · Palette generator →

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