#786F4B#786F4B

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

Color values

HEX#786F4B
RGBrgb(120, 111, 75)
HSLhsl(48, 23%, 38%)
HSVhsv(48, 38%, 47%)
CMYKcmyk(0%, 7.5%, 37.5%, 52.9%)
CIE-LABlab(46.80, -2.32, 21.34)
CIE-LCHlch(46.80, 21.47, 96.19°)
OKLaboklab(54.06% -0.0054 0.0529)
OKLCHoklch(54.06% 0.053 95.8)
XYZxyz(14.7004, 15.8704, 8.9442)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F4B #4B5478
analogous
#78584B #786F4B #6A784B
triadic
#786F4B #4B786F #6F4B78
tetradic
#786F4B #4B7858 #4B5478 #784B6A
square
#786F4B #4B7858 #4B5478 #784B6A
split-complementary
#786F4B #4B6A78 #584B78
monochromatic
#2D291C #524C33 #786F4B #9D9263 #B5AC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786F4B#FFFFFF#000000##FFFFFF
##786F4B1.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)
#766D48
Deuteranopia (green-blind)
#79704C
Tritanopia (blue-blind)
#7F6A66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f4b;
/* rgb */ color: rgb(120, 111, 75);
/* oklch */ color: oklch(54.1% 0.053 95.8);
Tailwind
colors: {
  custom: {
    50: '#a0987d',
    500: '#786f4b',
    950: '#000000',
  },
}
SCSS
$custom: #786f4b;
$custom-light: #a0987d;
$custom-dark: #000000;
JSON
{
  "hex": "#786f4b",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 75
  },
  "hsl": {
    "h": 48,
    "s": 23.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.05316,
    "h": 95.8
  },
  "luminance": 0.1587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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