#778816#778816

#778816 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.3% C 0.131 H 118.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#778816
RGBrgb(119, 136, 22)
HSLhsl(69, 72%, 31%)
HSVhsv(69, 84%, 53%)
CMYKcmyk(12.5%, 0%, 83.8%, 46.7%)
CIE-LABlab(53.59, -20.70, 53.20)
CIE-LCHlch(53.59, 57.08, 111.26°)
OKLaboklab(59.28% -0.0625 0.1155)
OKLCHoklch(59.28% 0.131 118.4)
XYZxyz(16.5571, 21.5883, 4.0536)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778816 #271688
analogous
#886016 #778816 #3E8816
triadic
#778816 #167788 #881677
tetradic
#778816 #168860 #271688 #88163E
square
#778816 #168860 #271688 #88163E
split-complementary
#778816 #163E88 #601688
monochromatic
#1B1F05 #49530D #778816 #A5BD1F #C6DF39

Accessibility & contrast

On white

3.95
#778816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#778816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778816
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778816#FFFFFF#000000##000000
##7788161.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#908022
Tritanopia (blue-blind)
#7F8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #778816;
/* rgb */ color: rgb(119, 136, 22);
/* oklch */ color: oklch(59.3% 0.131 118.4);
Tailwind
colors: {
  custom: {
    50: '#a2aa60',
    500: '#778816',
    950: '#000000',
  },
}
SCSS
$custom: #778816;
$custom-light: #a2aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#778816",
  "rgb": {
    "r": 119,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 68.947,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59284,
    "c": 0.13131,
    "h": 118.4
  },
  "luminance": 0.21588
}

Semantic roles & 50–950 ramp

primary
#778816
secondary
#513EBC
accent
#39EF54
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #778816

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

Preview Lab → · Contrast checker → · Palette generator →

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