#786016#786016

#786016 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 50.0% C 0.093 H 89.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#786016
RGBrgb(120, 96, 22)
HSLhsl(45, 69%, 28%)
HSVhsv(45, 82%, 47%)
CMYKcmyk(0%, 20%, 81.7%, 52.9%)
CIE-LABlab(41.87, 1.90, 42.79)
CIE-LCHlch(41.87, 42.83, 87.46°)
OKLaboklab(49.96% 0.0006 0.0931)
OKLCHoklch(49.96% 0.093 89.6)
XYZxyz(12.0741, 12.4175, 2.5198)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786016 #162E78
analogous
#782F16 #786016 #5F7816
triadic
#786016 #167860 #601678
tetradic
#786016 #16782F #162E78 #78165F
square
#786016 #16782F #162E78 #78165F
split-complementary
#786016 #165F78 #2F1678
monochromatic
#1A1505 #44370D #786016 #AC891F #D9AF2F

Accessibility & contrast

On white

6.03
#786016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#786016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786016
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786016#FFFFFF#000000##FFFFFF
##7860161.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#835752
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #786016;
/* rgb */ color: rgb(120, 96, 22);
/* oklch */ color: oklch(50.0% 0.093 89.6);
Tailwind
colors: {
  custom: {
    50: '#a38c5a',
    500: '#786016',
    950: '#000000',
  },
}
SCSS
$custom: #786016;
$custom-light: #a38c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#786016",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 45.306,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.0931,
    "h": 89.6
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#786016
secondary
#3C58AD
accent
#67EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786016

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

Preview Lab → · Contrast checker → · Palette generator →

#786016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva