#786616#786616

#786616 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.3% C 0.097 H 95.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#786616
RGBrgb(120, 102, 22)
HSLhsl(49, 69%, 28%)
HSVhsv(49, 82%, 47%)
CMYKcmyk(0%, 15%, 81.7%, 52.9%)
CIE-LABlab(43.59, -1.61, 44.35)
CIE-LCHlch(43.59, 44.38, 92.08°)
OKLaboklab(51.32% -0.0094 0.0964)
OKLCHoklch(51.32% 0.097 95.6)
XYZxyz(12.6426, 13.5545, 2.7093)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786616 #162878
analogous
#783516 #786616 #597816
triadic
#786616 #167866 #661678
tetradic
#786616 #167835 #162878 #781659
square
#786616 #167835 #162878 #781659
split-complementary
#786616 #165978 #351678
monochromatic
#1A1605 #443A0D #786616 #AC921F #D9BA2F

Accessibility & contrast

On white

5.66
#786616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#786616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786616
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786616#FFFFFF#000000##FFFFFF
##7866161.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#825D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #786616;
/* rgb */ color: rgb(120, 102, 22);
/* oklch */ color: oklch(51.3% 0.097 95.6);
Tailwind
colors: {
  custom: {
    50: '#a3915b',
    500: '#786616',
    950: '#000000',
  },
}
SCSS
$custom: #786616;
$custom-light: #a3915b;
$custom-dark: #000000;
JSON
{
  "hex": "#786616",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 48.98,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.09691,
    "h": 95.6
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#786616
secondary
#3C51AD
accent
#5CEC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786616

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

Preview Lab → · Contrast checker → · Palette generator →

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