#786E47#786E47

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

Color values

HEX#786E47
RGBrgb(120, 110, 71)
HSLhsl(48, 26%, 37%)
HSVhsv(48, 41%, 47%)
CMYKcmyk(0%, 8.3%, 40.8%, 52.9%)
CIE-LABlab(46.45, -2.25, 23.17)
CIE-LCHlch(46.45, 23.28, 95.54°)
OKLaboklab(53.76% -0.0055 0.057)
OKLCHoklch(53.76% 0.057 95.5)
XYZxyz(14.4593, 15.6003, 8.2095)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E47 #475178
analogous
#785647 #786E47 #697847
triadic
#786E47 #47786E #6E4778
tetradic
#786E47 #477856 #475178 #784769
square
#786E47 #477856 #475178 #784769
split-complementary
#786E47 #476978 #564778
monochromatic
#2B281A #524B30 #786E47 #9E915E #B6AC83

Accessibility & contrast

On white

5.10
#786E47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786E47
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E47#FFFFFF#000000##FFFFFF
##786E471.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C44
Deuteranopia (green-blind)
#786F48
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786e47;
/* rgb */ color: rgb(120, 110, 71);
/* oklch */ color: oklch(53.8% 0.057 95.5);
Tailwind
colors: {
  custom: {
    50: '#a0977a',
    500: '#786e47',
    950: '#000000',
  },
}
SCSS
$custom: #786e47;
$custom-light: #a0977a;
$custom-dark: #000000;
JSON
{
  "hex": "#786e47",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 71
  },
  "hsl": {
    "h": 47.755,
    "s": 25.654,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.05723,
    "h": 95.5
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#786E47
secondary
#7981A2
accent
#79C266
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786E47

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

Preview Lab → · Contrast checker → · Palette generator →

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