#786D4B#786D4B

#786D4B is a mid, muted yellow. Relative luminance 0.154; OKLCH L 53.6% C 0.051 H 92.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#786D4B
RGBrgb(120, 109, 75)
HSLhsl(45, 23%, 38%)
HSVhsv(45, 38%, 47%)
CMYKcmyk(0%, 9.2%, 37.5%, 52.9%)
CIE-LABlab(46.23, -1.16, 20.59)
CIE-LCHlch(46.23, 20.62, 93.22°)
OKLaboklab(53.61% -0.002 0.0511)
OKLCHoklch(53.61% 0.051 92.3)
XYZxyz(14.4846, 15.4388, 8.8722)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D4B #4B5678
analogous
#78564B #786D4B #6C784B
triadic
#786D4B #4B786D #6D4B78
tetradic
#786D4B #4B7856 #4B5678 #784B6C
square
#786D4B #4B7856 #4B5678 #784B6C
split-complementary
#786D4B #4B6C78 #564B78
monochromatic
#2D291C #524B33 #786D4B #9D8F63 #B5AA88

Accessibility & contrast

On white

5.14
#786D4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#786D4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D4B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D4B#FFFFFF#000000##FFFFFF
##786D4B1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C49
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786d4b;
/* rgb */ color: rgb(120, 109, 75);
/* oklch */ color: oklch(53.6% 0.051 92.3);
Tailwind
colors: {
  custom: {
    50: '#a0967d',
    500: '#786d4b',
    950: '#000000',
  },
}
SCSS
$custom: #786d4b;
$custom-light: #a0967d;
$custom-dark: #000000;
JSON
{
  "hex": "#786d4b",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 75
  },
  "hsl": {
    "h": 45.333,
    "s": 23.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.05116,
    "h": 92.3
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#786D4B
secondary
#7D86A1
accent
#7EC068
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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