#786E4B#786E4B

#786E4B is a mid, muted yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.052 H 94.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#786E4B
RGBrgb(120, 110, 75)
HSLhsl(47, 23%, 38%)
HSVhsv(47, 38%, 47%)
CMYKcmyk(0%, 8.3%, 37.5%, 52.9%)
CIE-LABlab(46.52, -1.74, 20.96)
CIE-LCHlch(46.52, 21.04, 94.74°)
OKLaboklab(53.84% -0.0037 0.052)
OKLCHoklch(53.84% 0.052 94.1)
XYZxyz(14.5919, 15.6534, 8.9080)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E4B #4B5578
analogous
#78574B #786E4B #6B784B
triadic
#786E4B #4B786E #6E4B78
tetradic
#786E4B #4B7857 #4B5578 #784B6B
square
#786E4B #4B7857 #4B5578 #784B6B
split-complementary
#786E4B #4B6B78 #574B78
monochromatic
#2D291C #524B33 #786E4B #9D9063 #B5AB88

Accessibility & contrast

On white

5.08
#786E4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#786E4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E4B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E4B#FFFFFF#000000##FFFFFF
##786E4B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C49
Deuteranopia (green-blind)
#78704C
Tritanopia (blue-blind)
#7F6965
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786e4b;
/* rgb */ color: rgb(120, 110, 75);
/* oklch */ color: oklch(53.8% 0.052 94.1);
Tailwind
colors: {
  custom: {
    50: '#a0977d',
    500: '#786e4b',
    950: '#000000',
  },
}
SCSS
$custom: #786e4b;
$custom-light: #a0977d;
$custom-dark: #000000;
JSON
{
  "hex": "#786e4b",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 75
  },
  "hsl": {
    "h": 46.667,
    "s": 23.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.05213,
    "h": 94.1
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#786E4B
secondary
#7D85A1
accent
#7CC068
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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