#786F49#786F49

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

Color values

HEX#786F49
RGBrgb(120, 111, 73)
HSLhsl(49, 24%, 38%)
HSVhsv(49, 39%, 47%)
CMYKcmyk(0%, 7.5%, 39.2%, 52.9%)
CIE-LABlab(46.77, -2.57, 22.45)
CIE-LCHlch(46.77, 22.59, 96.54°)
OKLaboklab(54.02% -0.0062 0.0554)
OKLCHoklch(54.02% 0.056 96.4)
XYZxyz(14.6330, 15.8434, 8.5893)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F49 #495278
analogous
#785849 #786F49 #697849
triadic
#786F49 #49786F #6F4978
tetradic
#786F49 #497858 #495278 #784969
square
#786F49 #497858 #495278 #784969
split-complementary
#786F49 #496978 #584978
monochromatic
#2C291B #524C32 #786F49 #9E9260 #B5AC86

Accessibility & contrast

On white

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

On black

4.17
#786F49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##786F49#FFFFFF#000000##FFFFFF
##786F491.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D46
Deuteranopia (green-blind)
#79704A
Tritanopia (blue-blind)
#7F6A65
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f49;
/* rgb */ color: rgb(120, 111, 73);
/* oklch */ color: oklch(54.0% 0.056 96.4);
Tailwind
colors: {
  custom: {
    50: '#a0987c',
    500: '#786f49',
    950: '#000000',
  },
}
SCSS
$custom: #786f49;
$custom-light: #a0987c;
$custom-dark: #000000;
JSON
{
  "hex": "#786f49",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 73
  },
  "hsl": {
    "h": 48.511,
    "s": 24.352,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.05573,
    "h": 96.4
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#786F49
secondary
#7B83A2
accent
#78C167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786F49

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

Preview Lab → · Contrast checker → · Palette generator →

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