#778A1A#778A1A

#778A1A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.132 H 119.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#778A1A
RGBrgb(119, 138, 26)
HSLhsl(70, 68%, 32%)
HSVhsv(70, 81%, 54%)
CMYKcmyk(13.8%, 0%, 81.2%, 45.9%)
CIE-LABlab(54.21, -21.57, 52.59)
CIE-LCHlch(54.21, 56.84, 112.30°)
OKLaboklab(59.79% -0.0646 0.1149)
OKLCHoklch(59.79% 0.132 119.3)
XYZxyz(16.8830, 22.1736, 4.3676)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A1A #2D1A8A
analogous
#8A651A #778A1A #3F8A1A
triadic
#778A1A #1A778A #8A1A77
tetradic
#778A1A #1A8A65 #2D1A8A #8A1A3F
square
#778A1A #1A8A65 #2D1A8A #8A1A3F
split-complementary
#778A1A #1A3F8A #651A8A
monochromatic
#1E2307 #4B5710 #778A1A #A3BD24 #C2DC43

Accessibility & contrast

On white

3.86
#778A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#778A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A1A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A1A#FFFFFF#000000##000000
##778A1A1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#7E8276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a1a;
/* rgb */ color: rgb(119, 138, 26);
/* oklch */ color: oklch(59.8% 0.132 119.3);
Tailwind
colors: {
  custom: {
    50: '#a2ac62',
    500: '#778a1a',
    950: '#000000',
  },
}
SCSS
$custom: #778a1a;
$custom-light: #a2ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#778a1a",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 70.179,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.13181,
    "h": 119.3
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#778A1A
secondary
#5843BD
accent
#3DEB5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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