#786F4D#786F4D

#786F4D is a mid, muted yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.051 H 95.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#786F4D
RGBrgb(120, 111, 77)
HSLhsl(47, 22%, 39%)
HSVhsv(47, 36%, 47%)
CMYKcmyk(0%, 7.5%, 35.8%, 52.9%)
CIE-LABlab(46.84, -2.05, 20.23)
CIE-LCHlch(46.84, 20.34, 95.79°)
OKLaboklab(54.1% -0.0045 0.0504)
OKLCHoklch(54.1% 0.051 95.1)
XYZxyz(14.7699, 15.8982, 9.3104)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F4D #4D5678
analogous
#78594D #786F4D #6B784D
triadic
#786F4D #4D786F #6F4D78
tetradic
#786F4D #4D7859 #4D5678 #784D6B
square
#786F4D #4D7859 #4D5678 #784D6B
split-complementary
#786F4D #4D6B78 #594D78
monochromatic
#2D2A1D #534D35 #786F4D #9D9166 #B5AC8B

Accessibility & contrast

On white

5.02
#786F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#786F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F4D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F4D#FFFFFF#000000##FFFFFF
##786F4D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D4B
Deuteranopia (green-blind)
#78704E
Tritanopia (blue-blind)
#7E6A66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f4d;
/* rgb */ color: rgb(120, 111, 77);
/* oklch */ color: oklch(54.1% 0.051 95.1);
Tailwind
colors: {
  custom: {
    50: '#9f987f',
    500: '#786f4d',
    950: '#000000',
  },
}
SCSS
$custom: #786f4d;
$custom-light: #9f987f;
$custom-dark: #000000;
JSON
{
  "hex": "#786f4d",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 77
  },
  "hsl": {
    "h": 47.442,
    "s": 21.827,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.05056,
    "h": 95.1
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#786F4D
secondary
#8087A1
accent
#7BBE69
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C

Preview Lab

Preview with #786F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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