#787916#787916

#787916 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.114 H 110.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#787916
RGBrgb(120, 121, 22)
HSLhsl(61, 69%, 28%)
HSVhsv(61, 82%, 47%)
CMYKcmyk(0.8%, 0%, 81.8%, 52.5%)
CIE-LABlab(49.16, -12.31, 49.34)
CIE-LCHlch(49.16, 50.85, 104.01°)
OKLaboklab(55.75% -0.0394 0.1072)
OKLCHoklch(55.75% 0.114 110.2)
XYZxyz(14.7285, 17.7262, 3.4045)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787916 #171679
analogous
#794816 #787916 #467916
triadic
#787916 #167879 #791678
tetradic
#787916 #167948 #171679 #791646
square
#787916 #167948 #171679 #791646
split-complementary
#787916 #164679 #481679
monochromatic
#1A1A05 #45450D #787916 #ABAD1F #D8D930

Accessibility & contrast

On white

4.62
#787916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#787916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787916
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787916#FFFFFF#000000##FFFFFF
##7879161.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#817167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787916;
/* rgb */ color: rgb(120, 121, 22);
/* oklch */ color: oklch(55.8% 0.114 110.2);
Tailwind
colors: {
  custom: {
    50: '#a29f5e',
    500: '#787916',
    950: '#000000',
  },
}
SCSS
$custom: #787916;
$custom-light: #a29f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#787916",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 60.606,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.11418,
    "h": 110.2
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#787916
secondary
#3E3DAE
accent
#3CEC3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787916

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

Preview Lab → · Contrast checker → · Palette generator →

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