#778A17#778A17

#778A17 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.8% C 0.133 H 119.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#778A17
RGBrgb(119, 138, 23)
HSLhsl(70, 71%, 32%)
HSVhsv(70, 83%, 54%)
CMYKcmyk(13.8%, 0%, 83.3%, 45.9%)
CIE-LABlab(54.20, -21.69, 53.45)
CIE-LCHlch(54.20, 57.68, 112.08°)
OKLaboklab(59.78% -0.0651 0.1162)
OKLCHoklch(59.78% 0.133 119.3)
XYZxyz(16.8513, 22.1609, 4.2002)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A17 #2A178A
analogous
#8A6417 #778A17 #3E8A17
triadic
#778A17 #17778A #8A1777
tetradic
#778A17 #178A64 #2A178A #8A173E
square
#778A17 #178A64 #2A178A #8A173E
split-complementary
#778A17 #173E8A #64178A
monochromatic
#1D2106 #4A560E #778A17 #A4BE20 #C4DF3D

Accessibility & contrast

On white

3.87
#778A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#778A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A17
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A17#FFFFFF#000000##000000
##778A171.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#918223
Tritanopia (blue-blind)
#7F8275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a17;
/* rgb */ color: rgb(119, 138, 23);
/* oklch */ color: oklch(59.8% 0.133 119.3);
Tailwind
colors: {
  custom: {
    50: '#a2ac60',
    500: '#778a17',
    950: '#000000',
  },
}
SCSS
$custom: #778a17;
$custom-light: #a2ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#778a17",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 69.913,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.13321,
    "h": 119.3
  },
  "luminance": 0.22161
}

Semantic roles & 50–950 ramp

primary
#778A17
secondary
#543FBE
accent
#3AEE57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778A17

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

Preview Lab → · Contrast checker → · Palette generator →

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