#787416#787416

#787416 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.109 H 106.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#787416
RGBrgb(120, 116, 22)
HSLhsl(58, 69%, 28%)
HSVhsv(58, 82%, 47%)
CMYKcmyk(0%, 3.3%, 81.7%, 52.9%)
CIE-LABlab(47.68, -9.56, 48.02)
CIE-LCHlch(47.68, 48.97, 101.26°)
OKLaboklab(54.57% -0.0318 0.1043)
OKLCHoklch(54.57% 0.109 106.9)
XYZxyz(14.1365, 16.5423, 3.2072)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787416 #161A78
analogous
#784316 #787416 #4B7816
triadic
#787416 #167874 #741678
tetradic
#787416 #167843 #161A78 #78164B
square
#787416 #167843 #161A78 #78164B
split-complementary
#787416 #164B78 #431678
monochromatic
#1A1905 #44420D #787416 #ACA61F #D9D22F

Accessibility & contrast

On white

4.87
#787416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#787416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787416
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787416#FFFFFF#000000##FFFFFF
##7874161.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#816C63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787416;
/* rgb */ color: rgb(120, 116, 22);
/* oklch */ color: oklch(54.6% 0.109 106.9);
Tailwind
colors: {
  custom: {
    50: '#a29b5d',
    500: '#787416',
    950: '#000000',
  },
}
SCSS
$custom: #787416;
$custom-light: #a29b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#787416",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 57.551,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.10906,
    "h": 106.9
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#787416
secondary
#3C41AD
accent
#43EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787416

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

Preview Lab → · Contrast checker → · Palette generator →

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