#778C1E#778C1E

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

Color values

HEX#778C1E
RGBrgb(119, 140, 30)
HSLhsl(71, 65%, 33%)
HSVhsv(71, 79%, 55%)
CMYKcmyk(15%, 0%, 78.6%, 45.1%)
CIE-LABlab(54.84, -22.40, 51.89)
CIE-LCHlch(54.84, 56.52, 113.35°)
OKLaboklab(60.3% -0.0666 0.1141)
OKLCHoklch(60.3% 0.132 120.3)
XYZxyz(17.2205, 22.7719, 4.7163)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C1E #331E8C
analogous
#8C6A1E #778C1E #408C1E
triadic
#778C1E #1E778C #8C1E77
tetradic
#778C1E #1E8C6A #331E8C #8C1E40
square
#778C1E #1E8C6A #331E8C #8C1E40
split-complementary
#778C1E #1E408C #6A1E8C
monochromatic
#212708 #4C5A13 #778C1E #A2BE29 #BED94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778C1E#FFFFFF#000000##000000
##778C1E1.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)
#958301
Deuteranopia (green-blind)
#938328
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c1e;
/* rgb */ color: rgb(119, 140, 30);
/* oklch */ color: oklch(60.3% 0.132 120.3);
Tailwind
colors: {
  custom: {
    50: '#a1ad64',
    500: '#778c1e',
    950: '#000000',
  },
}
SCSS
$custom: #778c1e;
$custom-light: #a1ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#778c1e",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 71.455,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.13212,
    "h": 120.3
  },
  "luminance": 0.22772
}

Semantic roles & 50–950 ramp

primary
#778C1E
secondary
#604BBB
accent
#40E860
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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