#786D46#786D46

#786D46 is a mid, muted yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.057 H 94.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#786D46
RGBrgb(120, 109, 70)
HSLhsl(47, 26%, 37%)
HSVhsv(47, 42%, 47%)
CMYKcmyk(0%, 9.2%, 41.7%, 52.9%)
CIE-LABlab(46.14, -1.79, 23.35)
CIE-LCHlch(46.14, 23.42, 94.39°)
OKLaboklab(53.51% -0.0042 0.0573)
OKLCHoklch(53.51% 0.057 94.2)
XYZxyz(14.3202, 15.3730, 8.0061)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D46 #465178
analogous
#785446 #786D46 #6A7846
triadic
#786D46 #46786D #6D4678
tetradic
#786D46 #467854 #465178 #78466A
square
#786D46 #467854 #465178 #78466A
split-complementary
#786D46 #466A78 #544678
monochromatic
#2B2719 #514A2F #786D46 #9F905D #B6AB82

Accessibility & contrast

On white

5.15
#786D46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#786D46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D46
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D46#FFFFFF#000000##FFFFFF
##786D461.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B43
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#7F6763
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786d46;
/* rgb */ color: rgb(120, 109, 70);
/* oklch */ color: oklch(53.5% 0.057 94.2);
Tailwind
colors: {
  custom: {
    50: '#a0967a',
    500: '#786d46',
    950: '#000000',
  },
}
SCSS
$custom: #786d46;
$custom-light: #a0967a;
$custom-dark: #000000;
JSON
{
  "hex": "#786d46",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 70
  },
  "hsl": {
    "h": 46.8,
    "s": 26.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.05749,
    "h": 94.2
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

primary
#786D46
secondary
#7881A2
accent
#7AC365
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786D46

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

Preview Lab → · Contrast checker → · Palette generator →

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