#786D48#786D48

#786D48 is a mid, muted yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.055 H 93.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#786D48
RGBrgb(120, 109, 72)
HSLhsl(46, 25%, 38%)
HSVhsv(46, 40%, 47%)
CMYKcmyk(0%, 9.2%, 40%, 52.9%)
CIE-LABlab(46.18, -1.54, 22.25)
CIE-LCHlch(46.18, 22.30, 93.97°)
OKLaboklab(53.55% -0.0033 0.0549)
OKLCHoklch(53.55% 0.055 93.5)
XYZxyz(14.3844, 15.3987, 8.3442)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D48 #485378
analogous
#785548 #786D48 #6B7848
triadic
#786D48 #48786D #6D4878
tetradic
#786D48 #487855 #485378 #78486B
square
#786D48 #487855 #485378 #78486B
split-complementary
#786D48 #486B78 #554878
monochromatic
#2B281A #524A31 #786D48 #9E905F #B6AA85

Accessibility & contrast

On white

5.15
#786D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#786D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D48
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D48#FFFFFF#000000##FFFFFF
##786D481.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B45
Deuteranopia (green-blind)
#776F49
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786d48;
/* rgb */ color: rgb(120, 109, 72);
/* oklch */ color: oklch(53.5% 0.055 93.5);
Tailwind
colors: {
  custom: {
    50: '#a0967b',
    500: '#786d48',
    950: '#000000',
  },
}
SCSS
$custom: #786d48;
$custom-light: #a0967b;
$custom-dark: #000000;
JSON
{
  "hex": "#786d48",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 72
  },
  "hsl": {
    "h": 46.25,
    "s": 25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.05497,
    "h": 93.5
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#786D48
secondary
#7A83A2
accent
#7BC166
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786D48

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

Preview Lab → · Contrast checker → · Palette generator →

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