#786E48#786E48

#786E48 is a mid, muted yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.056 H 95.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#786E48
RGBrgb(120, 110, 72)
HSLhsl(48, 25%, 38%)
HSVhsv(48, 40%, 47%)
CMYKcmyk(0%, 8.3%, 40%, 52.9%)
CIE-LABlab(46.46, -2.12, 22.62)
CIE-LCHlch(46.46, 22.72, 95.36°)
OKLaboklab(53.78% -0.005 0.0557)
OKLCHoklch(53.78% 0.056 95.1)
XYZxyz(14.4916, 15.6133, 8.3799)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E48 #485278
analogous
#785648 #786E48 #6A7848
triadic
#786E48 #48786E #6E4878
tetradic
#786E48 #487856 #485278 #78486A
square
#786E48 #487856 #485278 #78486A
split-complementary
#786E48 #486A78 #564878
monochromatic
#2B281A #524B31 #786E48 #9E915F #B6AB85

Accessibility & contrast

On white

5.09
#786E48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#786E48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E48
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E48#FFFFFF#000000##FFFFFF
##786E481.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C45
Deuteranopia (green-blind)
#787049
Tritanopia (blue-blind)
#7F6964
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786e48;
/* rgb */ color: rgb(120, 110, 72);
/* oklch */ color: oklch(53.8% 0.056 95.1);
Tailwind
colors: {
  custom: {
    50: '#a0977b',
    500: '#786e48',
    950: '#000000',
  },
}
SCSS
$custom: #786e48;
$custom-light: #a0977b;
$custom-dark: #000000;
JSON
{
  "hex": "#786e48",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 72
  },
  "hsl": {
    "h": 47.5,
    "s": 25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.05597,
    "h": 95.1
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#786E48
secondary
#7A82A2
accent
#79C166
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786E48

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

Preview Lab → · Contrast checker → · Palette generator →

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