#778616#778616

#778616 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.129 H 117.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#778616
RGBrgb(119, 134, 22)
HSLhsl(68, 72%, 31%)
HSVhsv(68, 84%, 53%)
CMYKcmyk(11.2%, 0%, 83.6%, 47.5%)
CIE-LABlab(52.98, -19.67, 52.67)
CIE-LCHlch(52.98, 56.22, 110.48°)
OKLaboklab(58.8% -0.0597 0.1143)
OKLCHoklch(58.8% 0.129 117.6)
XYZxyz(16.2781, 21.0302, 3.9606)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778616 #251686
analogous
#865D16 #778616 #3F8616
triadic
#778616 #167786 #861677
tetradic
#778616 #16865D #251686 #86163F
square
#778616 #16865D #251686 #86163F
split-complementary
#778616 #163F86 #5D1686
monochromatic
#1A1D05 #48510D #778616 #A6BB1F #C8DE38

Accessibility & contrast

On white

4.03
#778616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#778616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778616
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778616#FFFFFF#000000##000000
##7786161.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#7F7E72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778616;
/* rgb */ color: rgb(119, 134, 22);
/* oklch */ color: oklch(58.8% 0.129 117.6);
Tailwind
colors: {
  custom: {
    50: '#a2a95f',
    500: '#778616',
    950: '#000000',
  },
}
SCSS
$custom: #778616;
$custom-light: #a2a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#778616",
  "rgb": {
    "r": 119,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 68.036,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.12899,
    "h": 117.6
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

primary
#778616
secondary
#4E3EBA
accent
#39EF52
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778616

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

Preview Lab → · Contrast checker → · Palette generator →

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