#778516#778516

#778516 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.128 H 117.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#778516
RGBrgb(119, 133, 22)
HSLhsl(68, 72%, 30%)
HSVhsv(68, 83%, 52%)
CMYKcmyk(10.5%, 0%, 83.5%, 47.8%)
CIE-LABlab(52.68, -19.15, 52.40)
CIE-LCHlch(52.68, 55.79, 110.08°)
OKLaboklab(58.55% -0.0583 0.1138)
OKLCHoklch(58.55% 0.128 117.1)
XYZxyz(16.1405, 20.7551, 3.9148)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778516 #241685
analogous
#855C16 #778516 #3F8516
triadic
#778516 #167785 #851677
tetradic
#778516 #16855C #241685 #85163F
square
#778516 #16855C #241685 #85163F
split-complementary
#778516 #163F85 #5C1685
monochromatic
#191C05 #48500D #778516 #A6BA1F #C9DE37

Accessibility & contrast

On white

4.08
#778516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#778516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778516
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778516#FFFFFF#000000##000000
##7785161.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#7F7D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778516;
/* rgb */ color: rgb(119, 133, 22);
/* oklch */ color: oklch(58.6% 0.128 117.1);
Tailwind
colors: {
  custom: {
    50: '#a2a85f',
    500: '#778516',
    950: '#000000',
  },
}
SCSS
$custom: #778516;
$custom-light: #a2a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#778516",
  "rgb": {
    "r": 119,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 67.568,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.12783,
    "h": 117.1
  },
  "luminance": 0.20755
}

Semantic roles & 50–950 ramp

primary
#778516
secondary
#4D3EB9
accent
#39EE50
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778516

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

Preview Lab → · Contrast checker → · Palette generator →

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