#778C1A#778C1A

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

Color values

HEX#778C1A
RGBrgb(119, 140, 26)
HSLhsl(71, 69%, 33%)
HSVhsv(71, 81%, 55%)
CMYKcmyk(15%, 0%, 81.4%, 45.1%)
CIE-LABlab(54.82, -22.58, 53.13)
CIE-LCHlch(54.82, 57.73, 113.03°)
OKLaboklab(60.28% -0.0674 0.116)
OKLCHoklch(60.28% 0.134 120.1)
XYZxyz(17.1726, 22.7528, 4.4641)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C1A #2F1A8C
analogous
#8C681A #778C1A #3E8C1A
triadic
#778C1A #1A778C #8C1A77
tetradic
#778C1A #1A8C68 #2F1A8C #8C1A3E
square
#778C1A #1A8C68 #2F1A8C #8C1A3E
split-complementary
#778C1A #1A3E8C #681A8C
monochromatic
#1F2507 #4B5810 #778C1A #A3C024 #C0DC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778C1A#FFFFFF#000000##000000
##778C1A1.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)
#938326
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c1a;
/* rgb */ color: rgb(119, 140, 26);
/* oklch */ color: oklch(60.3% 0.134 120.1);
Tailwind
colors: {
  custom: {
    50: '#a2ad62',
    500: '#778c1a',
    950: '#000000',
  },
}
SCSS
$custom: #778c1a;
$custom-light: #a2ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#778c1a",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 71.053,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.13418,
    "h": 120.1
  },
  "luminance": 0.22753
}

Semantic roles & 50–950 ramp

primary
#778C1A
secondary
#5B44BE
accent
#3CEC5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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