#786316#786316

#786316 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.6% C 0.095 H 92.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#786316
RGBrgb(120, 99, 22)
HSLhsl(47, 69%, 28%)
HSVhsv(47, 82%, 47%)
CMYKcmyk(0%, 17.5%, 81.7%, 52.9%)
CIE-LABlab(42.73, 0.14, 43.56)
CIE-LCHlch(42.73, 43.57, 89.82°)
OKLaboklab(50.64% -0.0044 0.0948)
OKLCHoklch(50.64% 0.095 92.7)
XYZxyz(12.3531, 12.9754, 2.6128)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786316 #162B78
analogous
#783216 #786316 #5C7816
triadic
#786316 #167863 #631678
tetradic
#786316 #167832 #162B78 #78165C
square
#786316 #167832 #162B78 #78165C
split-complementary
#786316 #165C78 #321678
monochromatic
#1A1505 #44380D #786316 #AC8E1F #D9B52F

Accessibility & contrast

On white

5.84
#786316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#786316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786316
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786316#FFFFFF#000000##FFFFFF
##7863161.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6106
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#825A54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #786316;
/* rgb */ color: rgb(120, 99, 22);
/* oklch */ color: oklch(50.6% 0.095 92.7);
Tailwind
colors: {
  custom: {
    50: '#a38f5a',
    500: '#786316',
    950: '#000000',
  },
}
SCSS
$custom: #786316;
$custom-light: #a38f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#786316",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 47.143,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.09487,
    "h": 92.7
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#786316
secondary
#3C55AD
accent
#62EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786316

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

Preview Lab → · Contrast checker → · Palette generator →

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