#778C16#778C16

#778C16 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.3% C 0.136 H 120.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#778C16
RGBrgb(119, 140, 22)
HSLhsl(71, 73%, 32%)
HSVhsv(71, 84%, 55%)
CMYKcmyk(15%, 0%, 84.3%, 45.1%)
CIE-LABlab(54.80, -22.74, 54.25)
CIE-LCHlch(54.80, 58.82, 112.74°)
OKLaboklab(60.26% -0.0681 0.1177)
OKLCHoklch(60.26% 0.136 120)
XYZxyz(17.1310, 22.7361, 4.2449)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C16 #2B168C
analogous
#8C6616 #778C16 #3C8C16
triadic
#778C16 #16778C #8C1677
tetradic
#778C16 #168C66 #2B168C #8C163C
square
#778C16 #168C66 #2B168C #8C163C
split-complementary
#778C16 #163C8C #66168C
monochromatic
#1D2205 #4A570E #778C16 #A4C11E #C3E03C

Accessibility & contrast

On white

3.79
#778C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#778C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C16
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C16#FFFFFF#000000##000000
##778C161.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c16;
/* rgb */ color: rgb(119, 140, 22);
/* oklch */ color: oklch(60.3% 0.136 120.0);
Tailwind
colors: {
  custom: {
    50: '#a2ad60',
    500: '#778c16',
    950: '#000000',
  },
}
SCSS
$custom: #778c16;
$custom-light: #a2ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#778c16",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 70.678,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.136,
    "h": 120
  },
  "luminance": 0.22736
}

Semantic roles & 50–950 ramp

primary
#778C16
secondary
#553EC0
accent
#38F059
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778C16

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

Preview Lab → · Contrast checker → · Palette generator →

#778C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva