#5A6738#5A6738

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

Color values

HEX#5A6738
RGBrgb(90, 103, 56)
HSLhsl(77, 30%, 31%)
HSVhsv(77, 46%, 40%)
CMYKcmyk(12.6%, 0%, 45.6%, 59.6%)
CIE-LABlab(41.47, -13.41, 24.83)
CIE-LCHlch(41.47, 28.22, 118.37°)
OKLaboklab(49.07% -0.0372 0.0602)
OKLCHoklch(49.07% 0.071 121.7)
XYZxyz(9.7805, 12.1597, 5.5724)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6738 #453867
analogous
#675C38 #5A6738 #426738
triadic
#5A6738 #385A67 #67385A
tetradic
#5A6738 #38675C #453867 #673842
square
#5A6738 #38675C #453867 #673842
split-complementary
#5A6738 #384267 #5C3867
monochromatic
#15180D #373F22 #5A6738 #7D8F4E #9CAE6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6738#FFFFFF#000000##FFFFFF
##5A67381.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)
#6C6234
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#5E635C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6738;
/* rgb */ color: rgb(90, 103, 56);
/* oklch */ color: oklch(49.1% 0.071 121.7);
Tailwind
colors: {
  custom: {
    50: '#89926f',
    500: '#5a6738',
    950: '#000000',
  },
}
SCSS
$custom: #5a6738;
$custom-light: #89926f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6738",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 56
  },
  "hsl": {
    "h": 76.596,
    "s": 29.56,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49074,
    "c": 0.07076,
    "h": 121.7
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#5A6738
secondary
#726397
accent
#62C67E
background
#F8F8F6
surface
#F0F0EC
border
#CBCBC7
text
#0C0D07
muted
#7D7D7A

Preview Lab

Preview with #5A6738

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

Preview Lab → · Contrast checker → · Palette generator →

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