#786E2D#786E2D

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

Color values

HEX#786E2D
RGBrgb(120, 110, 45)
HSLhsl(52, 45%, 32%)
HSVhsv(52, 63%, 47%)
CMYKcmyk(0%, 8.3%, 62.5%, 52.9%)
CIE-LABlab(46.09, -4.86, 36.82)
CIE-LCHlch(46.09, 37.14, 97.52°)
OKLaboklab(53.36% -0.0159 0.0848)
OKLCHoklch(53.36% 0.086 100.6)
XYZxyz(13.7958, 15.3350, 4.7154)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E2D #2D3778
analogous
#78492D #786E2D #5D782D
triadic
#786E2D #2D786E #6E2D78
tetradic
#786E2D #2D7849 #2D3778 #782D5D
square
#786E2D #2D7849 #2D3778 #782D5D
split-complementary
#786E2D #2D5D78 #492D78
monochromatic
#1F1C0C #4B451C #786E2D #A5973E #C2B55D

Accessibility & contrast

On white

5.16
#786E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786E2D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E2D#FFFFFF#000000##FFFFFF
##786E2D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B26
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#816760
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786e2d;
/* rgb */ color: rgb(120, 110, 45);
/* oklch */ color: oklch(53.4% 0.086 100.6);
Tailwind
colors: {
  custom: {
    50: '#a19769',
    500: '#786e2d',
    950: '#000000',
  },
}
SCSS
$custom: #786e2d;
$custom-light: #a19769;
$custom-dark: #000000;
JSON
{
  "hex": "#786e2d",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 52,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.08627,
    "h": 100.6
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#786E2D
secondary
#5863A9
accent
#64D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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