#786D41#786D41

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

Color values

HEX#786D41
RGBrgb(120, 109, 65)
HSLhsl(48, 30%, 36%)
HSVhsv(48, 46%, 47%)
CMYKcmyk(0%, 9.2%, 45.8%, 52.9%)
CIE-LABlab(46.06, -2.38, 26.09)
CIE-LCHlch(46.06, 26.20, 95.21°)
OKLaboklab(53.42% -0.0064 0.0633)
OKLCHoklch(53.42% 0.064 95.8)
XYZxyz(14.1689, 15.3125, 7.2093)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D41 #414C78
analogous
#785241 #786D41 #687841
triadic
#786D41 #41786D #6D4178
tetradic
#786D41 #417852 #414C78 #784168
square
#786D41 #417852 #414C78 #784168
split-complementary
#786D41 #416878 #524178
monochromatic
#292516 #50492B #786D41 #A09157 #B8AC7C

Accessibility & contrast

On white

5.17
#786D41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786D41
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D41#FFFFFF#000000##FFFFFF
##786D411.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#786F43
Tritanopia (blue-blind)
#806762
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786d41;
/* rgb */ color: rgb(120, 109, 65);
/* oklch */ color: oklch(53.4% 0.064 95.8);
Tailwind
colors: {
  custom: {
    50: '#a09676',
    500: '#786d41',
    950: '#000000',
  },
}
SCSS
$custom: #786d41;
$custom-light: #a09676;
$custom-dark: #000000;
JSON
{
  "hex": "#786d41",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 65
  },
  "hsl": {
    "h": 48,
    "s": 29.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.06362,
    "h": 95.8
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#786D41
secondary
#727CA3
accent
#76C662
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #786D41

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

Preview Lab → · Contrast checker → · Palette generator →

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