#786416#786416

#786416 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.9% C 0.096 H 93.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#786416
RGBrgb(120, 100, 22)
HSLhsl(48, 69%, 28%)
HSVhsv(48, 82%, 47%)
CMYKcmyk(0%, 16.7%, 81.7%, 52.9%)
CIE-LABlab(43.01, -0.45, 43.83)
CIE-LCHlch(43.01, 43.83, 90.58°)
OKLaboklab(50.86% -0.0061 0.0953)
OKLCHoklch(50.86% 0.096 93.7)
XYZxyz(12.4484, 13.1661, 2.6445)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786416 #162A78
analogous
#783316 #786416 #5B7816
triadic
#786416 #167864 #641678
tetradic
#786416 #167833 #162A78 #78165B
square
#786416 #167833 #162A78 #78165B
split-complementary
#786416 #165B78 #331678
monochromatic
#1A1605 #44390D #786416 #AC8F1F #D9B62F

Accessibility & contrast

On white

5.78
#786416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#786416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786416
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786416#FFFFFF#000000##FFFFFF
##7864161.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706205
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#825B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786416;
/* rgb */ color: rgb(120, 100, 22);
/* oklch */ color: oklch(50.9% 0.096 93.7);
Tailwind
colors: {
  custom: {
    50: '#a38f5b',
    500: '#786416',
    950: '#000000',
  },
}
SCSS
$custom: #786416;
$custom-light: #a38f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#786416",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 47.755,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.09552,
    "h": 93.7
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#786416
secondary
#3C53AD
accent
#60EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786416

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

Preview Lab → · Contrast checker → · Palette generator →

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