#787516#787516

#787516 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.8% C 0.110 H 107.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#787516
RGBrgb(120, 117, 22)
HSLhsl(58, 69%, 28%)
HSVhsv(58, 82%, 47%)
CMYKcmyk(0%, 2.5%, 81.7%, 52.9%)
CIE-LABlab(47.97, -10.11, 48.29)
CIE-LCHlch(47.97, 49.33, 101.83°)
OKLaboklab(54.8% -0.0333 0.1049)
OKLCHoklch(54.8% 0.11 107.6)
XYZxyz(14.2524, 16.7741, 3.2459)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787516 #161978
analogous
#784416 #787516 #4A7816
triadic
#787516 #167875 #751678
tetradic
#787516 #167844 #161978 #78164A
square
#787516 #167844 #161978 #78164A
split-complementary
#787516 #164A78 #441678
monochromatic
#1A1905 #44430D #787516 #ACA71F #D9D42F

Accessibility & contrast

On white

4.82
#787516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#787516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787516
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787516#FFFFFF#000000##FFFFFF
##7875161.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#816D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787516;
/* rgb */ color: rgb(120, 117, 22);
/* oklch */ color: oklch(54.8% 0.110 107.6);
Tailwind
colors: {
  custom: {
    50: '#a29c5d',
    500: '#787516',
    950: '#000000',
  },
}
SCSS
$custom: #787516;
$custom-light: #a29c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#787516",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 58.163,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.11006,
    "h": 107.6
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#787516
secondary
#3C40AD
accent
#41EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787516

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

Preview Lab → · Contrast checker → · Palette generator →

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