#778A22#778A22

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

Color values

HEX#778A22
RGBrgb(119, 138, 34)
HSLhsl(71, 60%, 34%)
HSVhsv(71, 75%, 54%)
CMYKcmyk(13.8%, 0%, 75.4%, 45.9%)
CIE-LABlab(54.25, -21.19, 49.96)
CIE-LCHlch(54.25, 54.27, 112.98°)
OKLaboklab(59.84% -0.0629 0.1108)
OKLCHoklch(59.84% 0.127 119.6)
XYZxyz(16.9853, 22.2145, 4.9061)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A22 #35228A
analogous
#8A6922 #778A22 #438A22
triadic
#778A22 #22778A #8A2277
tetradic
#778A22 #228A69 #35228A #8A2243
square
#778A22 #228A69 #35228A #8A2243
split-complementary
#778A22 #22438A #69228A
monochromatic
#22280A #4D5916 #778A22 #A1BB2E #BDD452

Accessibility & contrast

On white

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

On black

5.44
#778A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A22
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A22#FFFFFF#000000##000000
##778A221.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820D
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#7E8276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a22;
/* rgb */ color: rgb(119, 138, 34);
/* oklch */ color: oklch(59.8% 0.127 119.6);
Tailwind
colors: {
  custom: {
    50: '#a1ac65',
    500: '#778a22',
    950: '#000000',
  },
}
SCSS
$custom: #778a22;
$custom-light: #a1ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#778a22",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 70.962,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.12736,
    "h": 119.6
  },
  "luminance": 0.22214
}

Semantic roles & 50–950 ramp

primary
#778A22
secondary
#6350B8
accent
#44E461
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778A22

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

Preview Lab → · Contrast checker → · Palette generator →

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