#778716#778716

#778716 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.0% C 0.130 H 118.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#778716
RGBrgb(119, 135, 22)
HSLhsl(68, 72%, 31%)
HSVhsv(68, 84%, 53%)
CMYKcmyk(11.9%, 0%, 83.7%, 47.1%)
CIE-LABlab(53.28, -20.19, 52.93)
CIE-LCHlch(53.28, 56.65, 110.88°)
OKLaboklab(59.04% -0.0611 0.1149)
OKLCHoklch(59.04% 0.13 118)
XYZxyz(16.4170, 21.3080, 4.0069)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778716 #261687
analogous
#875E16 #778716 #3E8716
triadic
#778716 #167787 #871677
tetradic
#778716 #16875E #261687 #87163E
square
#778716 #16875E #261687 #87163E
split-complementary
#778716 #163E87 #5E1687
monochromatic
#1A1E05 #49520D #778716 #A5BC1F #C7DF39

Accessibility & contrast

On white

3.99
#778716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#778716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778716
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778716#FFFFFF#000000##000000
##7787161.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#7F7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #778716;
/* rgb */ color: rgb(119, 135, 22);
/* oklch */ color: oklch(59.0% 0.130 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2a960',
    500: '#778716',
    950: '#000000',
  },
}
SCSS
$custom: #778716;
$custom-light: #a2a960;
$custom-dark: #000000;
JSON
{
  "hex": "#778716",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 68.496,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5904,
    "c": 0.13014,
    "h": 118
  },
  "luminance": 0.21308
}

Semantic roles & 50–950 ramp

primary
#778716
secondary
#4F3EBB
accent
#39EF53
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #778716

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

Preview Lab → · Contrast checker → · Palette generator →

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