#786D3E#786D3E

#786D3E is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.067 H 96.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#786D3E
RGBrgb(120, 109, 62)
HSLhsl(49, 32%, 36%)
HSVhsv(49, 48%, 47%)
CMYKcmyk(0%, 9.2%, 48.3%, 52.9%)
CIE-LABlab(46.01, -2.71, 27.71)
CIE-LCHlch(46.01, 27.84, 95.59°)
OKLaboklab(53.37% -0.0077 0.0668)
OKLCHoklch(53.37% 0.067 96.6)
XYZxyz(14.0843, 15.2787, 6.7637)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D3E #3E4978
analogous
#78503E #786D3E #66783E
triadic
#786D3E #3E786D #6D3E78
tetradic
#786D3E #3E7850 #3E4978 #783E66
square
#786D3E #3E7850 #3E4978 #783E66
split-complementary
#786D3E #3E6678 #503E78
monochromatic
#272414 #504829 #786D3E #A09253 #B9AD77

Accessibility & contrast

On white

5.18
#786D3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#786D3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D3E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D3E#FFFFFF#000000##FFFFFF
##786D3E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B3A
Deuteranopia (green-blind)
#796F40
Tritanopia (blue-blind)
#806762
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786d3e;
/* rgb */ color: rgb(120, 109, 62);
/* oklch */ color: oklch(53.4% 0.067 96.6);
Tailwind
colors: {
  custom: {
    50: '#a09674',
    500: '#786d3e',
    950: '#000000',
  },
}
SCSS
$custom: #786d3e;
$custom-light: #a09674;
$custom-dark: #000000;
JSON
{
  "hex": "#786d3e",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 62
  },
  "hsl": {
    "h": 48.621,
    "s": 31.868,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.06719,
    "h": 96.6
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#786D3E
secondary
#6F79A3
accent
#74C860
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #786D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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