#786F4C#786F4C

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

Color values

HEX#786F4C
RGBrgb(120, 111, 76)
HSLhsl(48, 22%, 38%)
HSVhsv(48, 37%, 47%)
CMYKcmyk(0%, 7.5%, 36.7%, 52.9%)
CIE-LABlab(46.82, -2.19, 20.79)
CIE-LCHlch(46.82, 20.90, 96.00°)
OKLaboklab(54.08% -0.0049 0.0516)
OKLCHoklch(54.08% 0.052 95.4)
XYZxyz(14.7349, 15.8842, 9.1258)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F4C #4C5578
analogous
#78594C #786F4C #6B784C
triadic
#786F4C #4C786F #6F4C78
tetradic
#786F4C #4C7859 #4C5578 #784C6B
square
#786F4C #4C7859 #4C5578 #784C6B
split-complementary
#786F4C #4C6B78 #594C78
monochromatic
#2D2A1D #534C34 #786F4C #9D9164 #B5AC8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786F4C#FFFFFF#000000##FFFFFF
##786F4C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D4A
Deuteranopia (green-blind)
#78704D
Tritanopia (blue-blind)
#7F6A66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f4c;
/* rgb */ color: rgb(120, 111, 76);
/* oklch */ color: oklch(54.1% 0.052 95.4);
Tailwind
colors: {
  custom: {
    50: '#a0987e',
    500: '#786f4c',
    950: '#000000',
  },
}
SCSS
$custom: #786f4c;
$custom-light: #a0987e;
$custom-dark: #000000;
JSON
{
  "hex": "#786f4c",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 76
  },
  "hsl": {
    "h": 47.727,
    "s": 22.449,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.05186,
    "h": 95.4
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#786F4C
secondary
#7E86A1
accent
#7ABF69
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C

Preview Lab

Preview with #786F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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