#786F4E#786F4E

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

Color values

HEX#786F4E
RGBrgb(120, 111, 78)
HSLhsl(47, 21%, 39%)
HSVhsv(47, 35%, 47%)
CMYKcmyk(0%, 7.5%, 35%, 52.9%)
CIE-LABlab(46.86, -1.92, 19.68)
CIE-LCHlch(46.86, 19.77, 95.56°)
OKLaboklab(54.13% -0.004 0.0491)
OKLCHoklch(54.13% 0.049 94.7)
XYZxyz(14.8055, 15.9124, 9.4977)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F4E #4E5778
analogous
#785A4E #786F4E #6C784E
triadic
#786F4E #4E786F #6F4E78
tetradic
#786F4E #4E785A #4E5778 #784E6C
square
#786F4E #4E785A #4E5778 #784E6C
split-complementary
#786F4E #4E6C78 #5A4E78
monochromatic
#2E2A1E #534D36 #786F4E #9C9167 #B4AC8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786F4E#FFFFFF#000000##FFFFFF
##786F4E1.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)
#766D4C
Deuteranopia (green-blind)
#78704F
Tritanopia (blue-blind)
#7E6A66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f4e;
/* rgb */ color: rgb(120, 111, 78);
/* oklch */ color: oklch(54.1% 0.049 94.7);
Tailwind
colors: {
  custom: {
    50: '#9f9880',
    500: '#786f4e',
    950: '#000000',
  },
}
SCSS
$custom: #786f4e;
$custom-light: #9f9880;
$custom-dark: #000000;
JSON
{
  "hex": "#786f4e",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 78
  },
  "hsl": {
    "h": 47.143,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.04924,
    "h": 94.7
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#786F4E
secondary
#8188A1
accent
#7CBE6A
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0D0A
muted
#7E7E7C

Preview Lab

Preview with #786F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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