#787616#787616

#787616 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.0% C 0.111 H 108.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#787616
RGBrgb(120, 118, 22)
HSLhsl(59, 69%, 28%)
HSVhsv(59, 82%, 47%)
CMYKcmyk(0%, 1.7%, 81.7%, 52.9%)
CIE-LABlab(48.27, -10.67, 48.55)
CIE-LCHlch(48.27, 49.71, 102.39°)
OKLaboklab(55.04% -0.0349 0.1055)
OKLCHoklch(55.04% 0.111 108.3)
XYZxyz(14.3696, 17.0083, 3.2849)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787616 #161878
analogous
#784516 #787616 #497816
triadic
#787616 #167876 #761678
tetradic
#787616 #167845 #161878 #781649
square
#787616 #167845 #161878 #781649
split-complementary
#787616 #164978 #451678
monochromatic
#1A1905 #44430D #787616 #ACA91F #D9D52F

Accessibility & contrast

On white

4.77
#787616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#787616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787616
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787616#FFFFFF#000000##FFFFFF
##7876161.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#816E64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787616;
/* rgb */ color: rgb(120, 118, 22);
/* oklch */ color: oklch(55.0% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#a29d5d',
    500: '#787616',
    950: '#000000',
  },
}
SCSS
$custom: #787616;
$custom-light: #a29d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#787616",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 58.776,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5504,
    "c": 0.11107,
    "h": 108.3
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#787616
secondary
#3C3FAD
accent
#40EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787616

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

Preview Lab → · Contrast checker → · Palette generator →

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