#778920#778920

#778920 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.6% C 0.127 H 119.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#778920
RGBrgb(119, 137, 32)
HSLhsl(70, 62%, 33%)
HSVhsv(70, 77%, 54%)
CMYKcmyk(13.1%, 0%, 76.6%, 46.3%)
CIE-LABlab(53.94, -20.78, 50.37)
CIE-LCHlch(53.94, 54.49, 112.42°)
OKLaboklab(59.58% -0.0619 0.1113)
OKLCHoklch(59.58% 0.127 119.1)
XYZxyz(16.8145, 21.9177, 4.7110)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778920 #322089
analogous
#896620 #778920 #428920
triadic
#778920 #207789 #892077
tetradic
#778920 #208966 #322089 #892042
square
#778920 #208966 #322089 #892042
split-complementary
#778920 #204289 #662089
monochromatic
#212609 #4C5714 #778920 #A2BB2C #BED64E

Accessibility & contrast

On white

3.90
#778920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##778920#FFFFFF#000000##000000
##7789201.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#7E8175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #778920;
/* rgb */ color: rgb(119, 137, 32);
/* oklch */ color: oklch(59.6% 0.127 119.1);
Tailwind
colors: {
  custom: {
    50: '#a1ab64',
    500: '#778920',
    950: '#000000',
  },
}
SCSS
$custom: #778920;
$custom-light: #a1ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#778920",
  "rgb": {
    "r": 119,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 70.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.12735,
    "h": 119.1
  },
  "luminance": 0.21918
}

Semantic roles & 50–950 ramp

primary
#778920
secondary
#5F4CB9
accent
#43E55E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778920

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

Preview Lab → · Contrast checker → · Palette generator →

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