#5A6739#5A6739

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

Color values

HEX#5A6739
RGBrgb(90, 103, 57)
HSLhsl(77, 29%, 31%)
HSVhsv(77, 45%, 40%)
CMYKcmyk(12.6%, 0%, 44.7%, 59.6%)
CIE-LABlab(41.48, -13.28, 24.28)
CIE-LCHlch(41.48, 27.68, 118.67°)
OKLaboklab(49.09% -0.0367 0.059)
OKLCHoklch(49.09% 0.07 121.9)
XYZxyz(9.8052, 12.1696, 5.7025)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6739 #463967
analogous
#675D39 #5A6739 #436739
triadic
#5A6739 #395A67 #67395A
tetradic
#5A6739 #39675D #463967 #673943
square
#5A6739 #39675D #463967 #673943
split-complementary
#5A6739 #394367 #5D3967
monochromatic
#15180D #384023 #5A6739 #7C8E4F #9BAE6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6739#FFFFFF#000000##FFFFFF
##5A67391.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)
#6C6235
Deuteranopia (green-blind)
#6A623B
Tritanopia (blue-blind)
#5D635C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6739;
/* rgb */ color: rgb(90, 103, 57);
/* oklch */ color: oklch(49.1% 0.070 121.9);
Tailwind
colors: {
  custom: {
    50: '#899270',
    500: '#5a6739',
    950: '#000000',
  },
}
SCSS
$custom: #5a6739;
$custom-light: #899270;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6739",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 57
  },
  "hsl": {
    "h": 76.957,
    "s": 28.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49091,
    "c": 0.06952,
    "h": 121.9
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#5A6739
secondary
#736597
accent
#63C57F
background
#F8F8F6
surface
#F0F0EC
border
#CBCBC7
text
#0C0D07
muted
#7D7D7A

Preview Lab

Preview with #5A6739

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

Preview Lab → · Contrast checker → · Palette generator →

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