#786F2C#786F2C

#786F2C is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.088 H 101.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#786F2C
RGBrgb(120, 111, 44)
HSLhsl(53, 46%, 32%)
HSVhsv(53, 63%, 47%)
CMYKcmyk(0%, 7.5%, 63.3%, 52.9%)
CIE-LABlab(46.37, -5.50, 37.62)
CIE-LCHlch(46.37, 38.02, 98.32°)
OKLaboklab(53.58% -0.0179 0.0864)
OKLCHoklch(53.58% 0.088 101.7)
XYZxyz(13.8853, 15.5443, 4.6513)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F2C #2C3578
analogous
#78492C #786F2C #5B782C
triadic
#786F2C #2C786F #6F2C78
tetradic
#786F2C #2C7849 #2C3578 #782C5B
square
#786F2C #2C7849 #2C3578 #782C5B
split-complementary
#786F2C #2C5B78 #492C78
monochromatic
#1E1C0B #4B461C #786F2C #A5983C #C3B75B

Accessibility & contrast

On white

5.11
#786F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#786F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F2C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F2C#FFFFFF#000000##FFFFFF
##786F2C1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C25
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#816761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786f2c;
/* rgb */ color: rgb(120, 111, 44);
/* oklch */ color: oklch(53.6% 0.088 101.7);
Tailwind
colors: {
  custom: {
    50: '#a19868',
    500: '#786f2c',
    950: '#000000',
  },
}
SCSS
$custom: #786f2c;
$custom-light: #a19868;
$custom-dark: #000000;
JSON
{
  "hex": "#786f2c",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 52.895,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.08819,
    "h": 101.7
  },
  "luminance": 0.15544
}

Semantic roles & 50–950 ramp

primary
#786F2C
secondary
#5760A9
accent
#61D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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