#778916#778916

#778916 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.5% C 0.132 H 118.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#778916
RGBrgb(119, 137, 22)
HSLhsl(69, 72%, 31%)
HSVhsv(69, 84%, 54%)
CMYKcmyk(13.1%, 0%, 83.9%, 46.3%)
CIE-LABlab(53.89, -21.21, 53.46)
CIE-LCHlch(53.89, 57.52, 111.64°)
OKLaboklab(59.53% -0.0639 0.116)
OKLCHoklch(59.53% 0.132 118.9)
XYZxyz(16.6986, 21.8713, 4.1008)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778916 #281689
analogous
#896116 #778916 #3D8916
triadic
#778916 #167789 #891677
tetradic
#778916 #168961 #281689 #89163D
square
#778916 #168961 #281689 #89163D
split-complementary
#778916 #163D89 #611689
monochromatic
#1B2005 #49540E #778916 #A5BE1E #C5DF3A

Accessibility & contrast

On white

3.91
#778916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#778916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778916
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778916#FFFFFF#000000##000000
##7789161.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#7F8174
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #778916;
/* rgb */ color: rgb(119, 137, 22);
/* oklch */ color: oklch(59.5% 0.132 118.9);
Tailwind
colors: {
  custom: {
    50: '#a2ab60',
    500: '#778916',
    950: '#000000',
  },
}
SCSS
$custom: #778916;
$custom-light: #a2ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#778916",
  "rgb": {
    "r": 119,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 69.391,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59528,
    "c": 0.13247,
    "h": 118.9
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#778916
secondary
#523EBD
accent
#39EF55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778916

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

Preview Lab → · Contrast checker → · Palette generator →

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