#786E2E#786E2E

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

Color values

HEX#786E2E
RGBrgb(120, 110, 46)
HSLhsl(52, 45%, 33%)
HSVhsv(52, 62%, 47%)
CMYKcmyk(0%, 8.3%, 61.7%, 52.9%)
CIE-LABlab(46.10, -4.78, 36.33)
CIE-LCHlch(46.10, 36.64, 97.50°)
OKLaboklab(53.37% -0.0155 0.0839)
OKLCHoklch(53.37% 0.085 100.5)
XYZxyz(13.8153, 15.3427, 4.8180)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E2E #2E3878
analogous
#78492E #786E2E #5D782E
triadic
#786E2E #2E786E #6E2E78
tetradic
#786E2E #2E7849 #2E3878 #782E5D
square
#786E2E #2E7849 #2E3878 #782E5D
split-complementary
#786E2E #2E5D78 #492E78
monochromatic
#201D0C #4C451D #786E2E #A4973F #C2B45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786E2E#FFFFFF#000000##FFFFFF
##786E2E1.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)
#786B27
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#816760
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786e2e;
/* rgb */ color: rgb(120, 110, 46);
/* oklch */ color: oklch(53.4% 0.085 100.5);
Tailwind
colors: {
  custom: {
    50: '#a19769',
    500: '#786e2e',
    950: '#000000',
  },
}
SCSS
$custom: #786e2e;
$custom-light: #a19769;
$custom-dark: #000000;
JSON
{
  "hex": "#786e2e",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 46
  },
  "hsl": {
    "h": 51.892,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.08532,
    "h": 100.5
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#786E2E
secondary
#5A64A8
accent
#65D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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