#786D4C#786D4C

#786D4C is a mid, muted yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.050 H 91.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#786D4C
RGBrgb(120, 109, 76)
HSLhsl(45, 22%, 38%)
HSVhsv(45, 37%, 47%)
CMYKcmyk(0%, 9.2%, 36.7%, 52.9%)
CIE-LABlab(46.25, -1.03, 20.03)
CIE-LCHlch(46.25, 20.06, 92.94°)
OKLaboklab(53.63% -0.0016 0.0498)
OKLCHoklch(53.63% 0.05 91.8)
XYZxyz(14.5191, 15.4526, 9.0539)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D4C #4C5778
analogous
#78574C #786D4C #6D784C
triadic
#786D4C #4C786D #6D4C78
tetradic
#786D4C #4C7857 #4C5778 #784C6D
square
#786D4C #4C7857 #4C5778 #784C6D
split-complementary
#786D4C #4C6D78 #574C78
monochromatic
#2D291D #534B34 #786D4C #9D8F64 #B5AA8A

Accessibility & contrast

On white

5.13
#786D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#786D4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D4C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D4C#FFFFFF#000000##FFFFFF
##786D4C1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C4A
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786d4c;
/* rgb */ color: rgb(120, 109, 76);
/* oklch */ color: oklch(53.6% 0.050 91.8);
Tailwind
colors: {
  custom: {
    50: '#a0967e',
    500: '#786d4c',
    950: '#000000',
  },
}
SCSS
$custom: #786d4c;
$custom-light: #a0967e;
$custom-dark: #000000;
JSON
{
  "hex": "#786d4c",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 76
  },
  "hsl": {
    "h": 45,
    "s": 22.449,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.04986,
    "h": 91.8
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#786D4C
secondary
#7E87A1
accent
#7EBF69
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C

Preview Lab

Preview with #786D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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