#778D20#778D20

#778D20 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.132 H 120.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#778D20
RGBrgb(119, 141, 32)
HSLhsl(72, 63%, 34%)
HSVhsv(72, 77%, 55%)
CMYKcmyk(15.6%, 0%, 77.3%, 44.7%)
CIE-LABlab(55.15, -22.81, 51.51)
CIE-LCHlch(55.15, 56.34, 113.89°)
OKLaboklab(60.56% -0.0675 0.1137)
OKLCHoklch(60.56% 0.132 120.7)
XYZxyz(17.3937, 23.0760, 4.9040)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D20 #36208D
analogous
#8D6D20 #778D20 #418D20
triadic
#778D20 #20778D #8D2077
tetradic
#778D20 #208D6D #36208D #8D2041
square
#778D20 #208D6D #36208D #8D2041
split-complementary
#778D20 #20418D #6D208D
monochromatic
#232909 #4D5B15 #778D20 #A1BF2B #BCD750

Accessibility & contrast

On white

3.74
#778D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#778D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D20
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D20#FFFFFF#000000##000000
##778D201.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#7E8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d20;
/* rgb */ color: rgb(119, 141, 32);
/* oklch */ color: oklch(60.6% 0.132 120.7);
Tailwind
colors: {
  custom: {
    50: '#a1ae65',
    500: '#778d20',
    950: '#000000',
  },
}
SCSS
$custom: #778d20;
$custom-light: #a1ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#778d20",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 72.11,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.13223,
    "h": 120.7
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

primary
#778D20
secondary
#644EBA
accent
#42E663
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778D20

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

Preview Lab → · Contrast checker → · Palette generator →

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