#786F4A#786F4A

#786F4A is a mid, muted yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.054 H 96.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#786F4A
RGBrgb(120, 111, 74)
HSLhsl(48, 24%, 38%)
HSVhsv(48, 38%, 47%)
CMYKcmyk(0%, 7.5%, 38.3%, 52.9%)
CIE-LABlab(46.79, -2.45, 21.89)
CIE-LCHlch(46.79, 22.03, 96.37°)
OKLaboklab(54.04% -0.0058 0.0541)
OKLCHoklch(54.04% 0.054 96.1)
XYZxyz(14.6665, 15.8568, 8.7653)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F4A #4A5378
analogous
#78584A #786F4A #6A784A
triadic
#786F4A #4A786F #6F4A78
tetradic
#786F4A #4A7858 #4A5378 #784A6A
square
#786F4A #4A7858 #4A5378 #784A6A
split-complementary
#786F4A #4A6A78 #584A78
monochromatic
#2C291B #524C33 #786F4A #9E9261 #B5AC87

Accessibility & contrast

On white

5.03
#786F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#786F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F4A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F4A#FFFFFF#000000##FFFFFF
##786F4A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D47
Deuteranopia (green-blind)
#79704B
Tritanopia (blue-blind)
#7F6A66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f4a;
/* rgb */ color: rgb(120, 111, 74);
/* oklch */ color: oklch(54.0% 0.054 96.1);
Tailwind
colors: {
  custom: {
    50: '#a0987d',
    500: '#786f4a',
    950: '#000000',
  },
}
SCSS
$custom: #786f4a;
$custom-light: #a0987d;
$custom-dark: #000000;
JSON
{
  "hex": "#786f4a",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 74
  },
  "hsl": {
    "h": 48.261,
    "s": 23.711,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.05445,
    "h": 96.1
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#786F4A
secondary
#7C84A2
accent
#79C068
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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