#786E4A#786E4A

#786E4A is a mid, muted yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.053 H 94.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#786E4A
RGBrgb(120, 110, 74)
HSLhsl(47, 24%, 38%)
HSVhsv(47, 38%, 47%)
CMYKcmyk(0%, 8.3%, 38.3%, 52.9%)
CIE-LABlab(46.50, -1.87, 21.52)
CIE-LCHlch(46.50, 21.60, 94.96°)
OKLaboklab(53.82% -0.0041 0.0533)
OKLCHoklch(53.82% 0.053 94.4)
XYZxyz(14.5579, 15.6398, 8.7292)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E4A #4A5478
analogous
#78574A #786E4A #6B784A
triadic
#786E4A #4A786E #6E4A78
tetradic
#786E4A #4A7857 #4A5478 #784A6B
square
#786E4A #4A7857 #4A5478 #784A6B
split-complementary
#786E4A #4A6B78 #574A78
monochromatic
#2C291B #524B33 #786E4A #9E9161 #B5AB87

Accessibility & contrast

On white

5.09
#786E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#786E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E4A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E4A#FFFFFF#000000##FFFFFF
##786E4A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C47
Deuteranopia (green-blind)
#78704B
Tritanopia (blue-blind)
#7F6965
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786e4a;
/* rgb */ color: rgb(120, 110, 74);
/* oklch */ color: oklch(53.8% 0.053 94.4);
Tailwind
colors: {
  custom: {
    50: '#a0977d',
    500: '#786e4a',
    950: '#000000',
  },
}
SCSS
$custom: #786e4a;
$custom-light: #a0977d;
$custom-dark: #000000;
JSON
{
  "hex": "#786e4a",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 74
  },
  "hsl": {
    "h": 46.957,
    "s": 23.711,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.05342,
    "h": 94.4
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#786E4A
secondary
#7C84A2
accent
#7BC068
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786E4A

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

Preview Lab → · Contrast checker → · Palette generator →

#786E4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva