#778016#778016

#778016 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.122 H 114.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#778016
RGBrgb(119, 128, 22)
HSLhsl(65, 71%, 29%)
HSVhsv(65, 83%, 50%)
CMYKcmyk(7%, 0%, 82.8%, 49.8%)
CIE-LABlab(51.17, -16.53, 51.08)
CIE-LCHlch(51.17, 53.69, 107.93°)
OKLaboklab(57.34% -0.0511 0.1109)
OKLCHoklch(57.34% 0.122 114.7)
XYZxyz(15.4722, 19.4185, 3.6920)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778016 #1F1680
analogous
#805416 #778016 #428016
triadic
#778016 #167780 #801677
tetradic
#778016 #168054 #1F1680 #801642
square
#778016 #168054 #1F1680 #801642
split-complementary
#778016 #164280 #541680
monochromatic
#181A04 #464C0D #778016 #A8B41F #CEDC34

Accessibility & contrast

On white

4.30
#778016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#778016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778016
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778016#FFFFFF#000000##000000
##7780161.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897B21
Tritanopia (blue-blind)
#7F786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #778016;
/* rgb */ color: rgb(119, 128, 22);
/* oklch */ color: oklch(57.3% 0.122 114.7);
Tailwind
colors: {
  custom: {
    50: '#a2a45f',
    500: '#778016',
    950: '#000000',
  },
}
SCSS
$custom: #778016;
$custom-light: #a2a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#778016",
  "rgb": {
    "r": 119,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 65.094,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.12213,
    "h": 114.7
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#778016
secondary
#473DB5
accent
#3AED4A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778016

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

Preview Lab → · Contrast checker → · Palette generator →

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