#786D4A#786D4A

#786D4A is a mid, muted yellow. Relative luminance 0.154; OKLCH L 53.6% C 0.052 H 92.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#786D4A
RGBrgb(120, 109, 74)
HSLhsl(46, 24%, 38%)
HSVhsv(46, 38%, 47%)
CMYKcmyk(0%, 9.2%, 38.3%, 52.9%)
CIE-LABlab(46.21, -1.29, 21.14)
CIE-LCHlch(46.21, 21.18, 93.49°)
OKLaboklab(53.59% -0.0025 0.0524)
OKLCHoklch(53.59% 0.052 92.7)
XYZxyz(14.4507, 15.4252, 8.6934)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D4A #4A5578
analogous
#78564A #786D4A #6C784A
triadic
#786D4A #4A786D #6D4A78
tetradic
#786D4A #4A7856 #4A5578 #784A6C
square
#786D4A #4A7856 #4A5578 #784A6C
split-complementary
#786D4A #4A6C78 #564A78
monochromatic
#2C281B #524B33 #786D4A #9E8F61 #B5AA87

Accessibility & contrast

On white

5.14
#786D4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#786D4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D4A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D4A#FFFFFF#000000##FFFFFF
##786D4A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C48
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786d4a;
/* rgb */ color: rgb(120, 109, 74);
/* oklch */ color: oklch(53.6% 0.052 92.7);
Tailwind
colors: {
  custom: {
    50: '#a0967d',
    500: '#786d4a',
    950: '#000000',
  },
}
SCSS
$custom: #786d4a;
$custom-light: #a0967d;
$custom-dark: #000000;
JSON
{
  "hex": "#786d4a",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 74
  },
  "hsl": {
    "h": 45.652,
    "s": 23.711,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.05244,
    "h": 92.7
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#786D4A
secondary
#7C85A2
accent
#7DC068
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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