#786D49#786D49

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

Color values

HEX#786D49
RGBrgb(120, 109, 73)
HSLhsl(46, 24%, 38%)
HSVhsv(46, 39%, 47%)
CMYKcmyk(0%, 9.2%, 39.2%, 52.9%)
CIE-LABlab(46.19, -1.42, 21.69)
CIE-LCHlch(46.19, 21.74, 93.74°)
OKLaboklab(53.57% -0.0029 0.0536)
OKLCHoklch(53.57% 0.054 93.1)
XYZxyz(14.4172, 15.4119, 8.5174)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D49 #495478
analogous
#785549 #786D49 #6B7849
triadic
#786D49 #49786D #6D4978
tetradic
#786D49 #497855 #495478 #78496B
square
#786D49 #497855 #495478 #78496B
split-complementary
#786D49 #496B78 #554978
monochromatic
#2C281B #524A32 #786D49 #9E9060 #B5AA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786D49#FFFFFF#000000##FFFFFF
##786D491.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786d49;
/* rgb */ color: rgb(120, 109, 73);
/* oklch */ color: oklch(53.6% 0.054 93.1);
Tailwind
colors: {
  custom: {
    50: '#a0967c',
    500: '#786d49',
    950: '#000000',
  },
}
SCSS
$custom: #786d49;
$custom-light: #a0967c;
$custom-dark: #000000;
JSON
{
  "hex": "#786d49",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 73
  },
  "hsl": {
    "h": 45.957,
    "s": 24.352,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53569,
    "c": 0.05371,
    "h": 93.1
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#786D49
secondary
#7B84A2
accent
#7CC167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786D49

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

Preview Lab → · Contrast checker → · Palette generator →

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