#778C21#778C21

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

Color values

HEX#778C21
RGBrgb(119, 140, 33)
HSLhsl(72, 62%, 34%)
HSVhsv(72, 76%, 55%)
CMYKcmyk(15%, 0%, 76.4%, 45.1%)
CIE-LABlab(54.85, -22.26, 50.89)
CIE-LCHlch(54.85, 55.54, 113.62°)
OKLaboklab(60.32% -0.0659 0.1125)
OKLCHoklch(60.32% 0.13 120.4)
XYZxyz(17.2607, 22.7880, 4.9278)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C21 #36218C
analogous
#8C6C21 #778C21 #428C21
triadic
#778C21 #21778C #8C2177
tetradic
#778C21 #218C6C #36218C #8C2142
square
#778C21 #218C6C #36218C #8C2142
split-complementary
#778C21 #21428C #6C218C
monochromatic
#23290A #4D5A15 #778C21 #A1BE2D #BCD651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778C21#FFFFFF#000000##000000
##778C211.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)
#958309
Deuteranopia (green-blind)
#93832B
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c21;
/* rgb */ color: rgb(119, 140, 33);
/* oklch */ color: oklch(60.3% 0.130 120.4);
Tailwind
colors: {
  custom: {
    50: '#a1ad65',
    500: '#778c21',
    950: '#000000',
  },
}
SCSS
$custom: #778c21;
$custom-light: #a1ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#778c21",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 71.776,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.13042,
    "h": 120.4
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#778C21
secondary
#644FB9
accent
#43E563
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C21

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

Preview Lab → · Contrast checker → · Palette generator →

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