#787716#787716

#787716 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.112 H 108.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#787716
RGBrgb(120, 119, 22)
HSLhsl(59, 69%, 28%)
HSVhsv(59, 82%, 47%)
CMYKcmyk(0%, 0.8%, 81.7%, 52.9%)
CIE-LABlab(48.57, -11.22, 48.81)
CIE-LCHlch(48.57, 50.09, 102.94°)
OKLaboklab(55.28% -0.0364 0.106)
OKLCHoklch(55.28% 0.112 108.9)
XYZxyz(14.4879, 17.2451, 3.3244)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787716 #161778
analogous
#784616 #787716 #487816
triadic
#787716 #167877 #771678
tetradic
#787716 #167846 #161778 #781648
square
#787716 #167846 #161778 #781648
split-complementary
#787716 #164878 #461678
monochromatic
#1A1A05 #44440D #787716 #ACAA1F #D9D72F

Accessibility & contrast

On white

4.72
#787716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#787716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787716
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787716#FFFFFF#000000##FFFFFF
##7877161.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#816F65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787716;
/* rgb */ color: rgb(120, 119, 22);
/* oklch */ color: oklch(55.3% 0.112 108.9);
Tailwind
colors: {
  custom: {
    50: '#a29e5d',
    500: '#787716',
    950: '#000000',
  },
}
SCSS
$custom: #787716;
$custom-light: #a29e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#787716",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 59.388,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.1121,
    "h": 108.9
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#787716
secondary
#3C3EAD
accent
#3EEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787716

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

Preview Lab → · Contrast checker → · Palette generator →

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