#778C1D#778C1D

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

Color values

HEX#778C1D
RGBrgb(119, 140, 29)
HSLhsl(71, 66%, 33%)
HSVhsv(71, 79%, 55%)
CMYKcmyk(15%, 0%, 79.3%, 45.1%)
CIE-LABlab(54.83, -22.45, 52.21)
CIE-LCHlch(54.83, 56.84, 113.27°)
OKLaboklab(60.3% -0.0668 0.1146)
OKLCHoklch(60.3% 0.133 120.2)
XYZxyz(17.2079, 22.7669, 4.6501)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C1D #321D8C
analogous
#8C691D #778C1D #408C1D
triadic
#778C1D #1D778C #8C1D77
tetradic
#778C1D #1D8C69 #321D8C #8C1D40
square
#778C1D #1D8C69 #321D8C #8C1D40
split-complementary
#778C1D #1D408C #691D8C
monochromatic
#212708 #4C5912 #778C1D #A2BF28 #BED94A

Accessibility & contrast

On white

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

On black

5.55
#778C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C1D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C1D#FFFFFF#000000##000000
##778C1D1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938328
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c1d;
/* rgb */ color: rgb(119, 140, 29);
/* oklch */ color: oklch(60.3% 0.133 120.2);
Tailwind
colors: {
  custom: {
    50: '#a2ad63',
    500: '#778c1d',
    950: '#000000',
  },
}
SCSS
$custom: #778c1d;
$custom-light: #a2ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#778c1d",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 71.351,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.13267,
    "h": 120.2
  },
  "luminance": 0.22767
}

Semantic roles & 50–950 ramp

primary
#778C1D
secondary
#5F49BC
accent
#3FE95F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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