#786F47#786F47

#786F47 is a mid, muted yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.058 H 97.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#786F47
RGBrgb(120, 111, 71)
HSLhsl(49, 26%, 37%)
HSVhsv(49, 41%, 47%)
CMYKcmyk(0%, 7.5%, 40.8%, 52.9%)
CIE-LABlab(46.73, -2.82, 23.55)
CIE-LCHlch(46.73, 23.71, 96.84°)
OKLaboklab(53.98% -0.0071 0.0578)
OKLCHoklch(53.98% 0.058 97)
XYZxyz(14.5678, 15.8173, 8.2457)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F47 #475078
analogous
#785747 #786F47 #687847
triadic
#786F47 #47786F #6F4778
tetradic
#786F47 #477857 #475078 #784768
square
#786F47 #477857 #475078 #784768
split-complementary
#786F47 #476878 #574778
monochromatic
#2B281A #524B30 #786F47 #9E935E #B6AD83

Accessibility & contrast

On white

5.04
#786F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#786F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F47
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F47#FFFFFF#000000##FFFFFF
##786F471.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D44
Deuteranopia (green-blind)
#797048
Tritanopia (blue-blind)
#7F6965
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f47;
/* rgb */ color: rgb(120, 111, 71);
/* oklch */ color: oklch(54.0% 0.058 97.0);
Tailwind
colors: {
  custom: {
    50: '#a0987b',
    500: '#786f47',
    950: '#000000',
  },
}
SCSS
$custom: #786f47;
$custom-light: #a0987b;
$custom-dark: #000000;
JSON
{
  "hex": "#786f47",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 71
  },
  "hsl": {
    "h": 48.98,
    "s": 25.654,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.05827,
    "h": 97
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#786F47
secondary
#7980A2
accent
#77C266
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786F47

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

Preview Lab → · Contrast checker → · Palette generator →

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