#786516#786516

#786516 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.1% C 0.096 H 94.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#786516
RGBrgb(120, 101, 22)
HSLhsl(48, 69%, 28%)
HSVhsv(48, 82%, 47%)
CMYKcmyk(0%, 15.8%, 81.7%, 52.9%)
CIE-LABlab(43.30, -1.03, 44.09)
CIE-LCHlch(43.30, 44.10, 91.34°)
OKLaboklab(51.09% -0.0078 0.0959)
OKLCHoklch(51.09% 0.096 94.6)
XYZxyz(12.5449, 13.3591, 2.6767)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786516 #162978
analogous
#783416 #786516 #5A7816
triadic
#786516 #167865 #651678
tetradic
#786516 #167834 #162978 #78165A
square
#786516 #167834 #162978 #78165A
split-complementary
#786516 #165A78 #341678
monochromatic
#1A1605 #44390D #786516 #AC911F #D9B82F

Accessibility & contrast

On white

5.72
#786516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#786516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786516
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786516#FFFFFF#000000##FFFFFF
##7865161.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#825C56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786516;
/* rgb */ color: rgb(120, 101, 22);
/* oklch */ color: oklch(51.1% 0.096 94.6);
Tailwind
colors: {
  custom: {
    50: '#a3905b',
    500: '#786516',
    950: '#000000',
  },
}
SCSS
$custom: #786516;
$custom-light: #a3905b;
$custom-dark: #000000;
JSON
{
  "hex": "#786516",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 48.367,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.0962,
    "h": 94.6
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#786516
secondary
#3C52AD
accent
#5EEC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786516

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

Preview Lab → · Contrast checker → · Palette generator →

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