#778917#778917

#778917 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.5% C 0.132 H 118.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#778917
RGBrgb(119, 137, 23)
HSLhsl(69, 71%, 31%)
HSVhsv(69, 83%, 54%)
CMYKcmyk(13.1%, 0%, 83.2%, 46.3%)
CIE-LABlab(53.89, -21.18, 53.19)
CIE-LCHlch(53.89, 57.25, 111.71°)
OKLaboklab(59.53% -0.0637 0.1156)
OKLCHoklch(59.53% 0.132 118.9)
XYZxyz(16.7085, 21.8752, 4.1526)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778917 #291789
analogous
#896217 #778917 #3E8917
triadic
#778917 #177789 #891777
tetradic
#778917 #178962 #291789 #89173E
square
#778917 #178962 #291789 #89173E
split-complementary
#778917 #173E89 #621789
monochromatic
#1C2005 #49550E #778917 #A5BD20 #C5DE3C

Accessibility & contrast

On white

3.91
#778917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#778917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778917
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778917#FFFFFF#000000##000000
##7789171.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918123
Tritanopia (blue-blind)
#7F8175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #778917;
/* rgb */ color: rgb(119, 137, 23);
/* oklch */ color: oklch(59.5% 0.132 118.9);
Tailwind
colors: {
  custom: {
    50: '#a2ab60',
    500: '#778917',
    950: '#000000',
  },
}
SCSS
$custom: #778917;
$custom-light: #a2ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#778917",
  "rgb": {
    "r": 119,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 69.474,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.13203,
    "h": 118.9
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#778917
secondary
#533FBD
accent
#3AEE56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778917

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

Preview Lab → · Contrast checker → · Palette generator →

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