#778416#778416

#778416 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.3% C 0.127 H 116.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#778416
RGBrgb(119, 132, 22)
HSLhsl(67, 71%, 30%)
HSVhsv(67, 83%, 52%)
CMYKcmyk(9.8%, 0%, 83.3%, 48.2%)
CIE-LABlab(52.38, -18.63, 52.14)
CIE-LCHlch(52.38, 55.37, 109.67°)
OKLaboklab(58.31% -0.0568 0.1132)
OKLCHoklch(58.31% 0.127 116.7)
XYZxyz(16.0043, 20.4826, 3.8693)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778416 #231684
analogous
#845A16 #778416 #408416
triadic
#778416 #167784 #841677
tetradic
#778416 #16845A #231684 #841640
square
#778416 #16845A #231684 #841640
split-complementary
#778416 #164084 #5A1684
monochromatic
#181B05 #48500D #778416 #A6B81F #CADE37

Accessibility & contrast

On white

4.12
#778416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#778416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778416
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778416#FFFFFF#000000##000000
##7784161.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#7F7C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #778416;
/* rgb */ color: rgb(119, 132, 22);
/* oklch */ color: oklch(58.3% 0.127 116.7);
Tailwind
colors: {
  custom: {
    50: '#a2a75f',
    500: '#778416',
    950: '#000000',
  },
}
SCSS
$custom: #778416;
$custom-light: #a2a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#778416",
  "rgb": {
    "r": 119,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 67.091,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.12667,
    "h": 116.7
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#778416
secondary
#4C3DB8
accent
#3AEE4F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778416

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

Preview Lab → · Contrast checker → · Palette generator →

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