#778918#778918

#778918 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.38:1 contrast (WCAG AA passes).

Color values

HEX#778918
RGBrgb(119, 137, 24)
HSLhsl(70, 70%, 32%)
HSVhsv(70, 82%, 54%)
CMYKcmyk(13.1%, 0%, 82.5%, 46.3%)
CIE-LABlab(53.90, -21.14, 52.90)
CIE-LCHlch(53.90, 56.97, 111.78°)
OKLaboklab(59.54% -0.0636 0.1152)
OKLCHoklch(59.54% 0.132 118.9)
XYZxyz(16.7187, 21.8793, 4.2064)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778918 #2A1889
analogous
#896318 #778918 #3E8918
triadic
#778918 #187789 #891877
tetradic
#778918 #188963 #2A1889 #89183E
square
#778918 #188963 #2A1889 #89183E
split-complementary
#778918 #183E89 #631889
monochromatic
#1D2106 #4A550F #778918 #A4BD21 #C4DD3E

Accessibility & contrast

On white

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

On black

5.38
#778918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778918
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778918#FFFFFF#000000##000000
##7789181.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778918;
/* rgb */ color: rgb(119, 137, 24);
/* oklch */ color: oklch(59.5% 0.132 118.9);
Tailwind
colors: {
  custom: {
    50: '#a2ab61',
    500: '#778918',
    950: '#000000',
  },
}
SCSS
$custom: #778918;
$custom-light: #a2ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#778918",
  "rgb": {
    "r": 119,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 69.558,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59537,
    "c": 0.13158,
    "h": 118.9
  },
  "luminance": 0.21879
}

Semantic roles & 50–950 ramp

primary
#778918
secondary
#5440BD
accent
#3BED57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778918

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

Preview Lab → · Contrast checker → · Palette generator →

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