#778C20#778C20

#778C20 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.131 H 120.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#778C20
RGBrgb(119, 140, 32)
HSLhsl(72, 63%, 34%)
HSVhsv(72, 77%, 55%)
CMYKcmyk(15%, 0%, 77.1%, 45.1%)
CIE-LABlab(54.85, -22.31, 51.23)
CIE-LCHlch(54.85, 55.88, 113.53°)
OKLaboklab(60.32% -0.0661 0.1131)
OKLCHoklch(60.32% 0.131 120.3)
XYZxyz(17.2469, 22.7824, 4.8551)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C20 #35208C
analogous
#8C6B20 #778C20 #418C20
triadic
#778C20 #20778C #8C2077
tetradic
#778C20 #208C6B #35208C #8C2041
square
#778C20 #208C6B #35208C #8C2041
split-complementary
#778C20 #20418C #6B208C
monochromatic
#222809 #4D5A15 #778C20 #A1BE2B #BDD750

Accessibility & contrast

On white

3.78
#778C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#778C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C20
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C20#FFFFFF#000000##000000
##778C201.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#93832A
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c20;
/* rgb */ color: rgb(119, 140, 32);
/* oklch */ color: oklch(60.3% 0.131 120.3);
Tailwind
colors: {
  custom: {
    50: '#a1ad65',
    500: '#778c20',
    950: '#000000',
  },
}
SCSS
$custom: #778c20;
$custom-light: #a1ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#778c20",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 71.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.13101,
    "h": 120.3
  },
  "luminance": 0.22782
}

Semantic roles & 50–950 ramp

primary
#778C20
secondary
#634EBA
accent
#42E662
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C20

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

Preview Lab → · Contrast checker → · Palette generator →

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