#778D22#778D22

#778D22 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.131 H 120.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#778D22
RGBrgb(119, 141, 34)
HSLhsl(72, 61%, 34%)
HSVhsv(72, 76%, 55%)
CMYKcmyk(15.6%, 0%, 75.9%, 44.7%)
CIE-LABlab(55.16, -22.71, 50.83)
CIE-LCHlch(55.16, 55.67, 114.07°)
OKLaboklab(60.57% -0.0671 0.1126)
OKLCHoklch(60.57% 0.131 120.8)
XYZxyz(17.4217, 23.0872, 5.0515)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D22 #38228D
analogous
#8D6E22 #778D22 #428D22
triadic
#778D22 #22778D #8D2277
tetradic
#778D22 #228D6E #38228D #8D2242
square
#778D22 #228D6E #38228D #8D2242
split-complementary
#778D22 #22428D #6E228D
monochromatic
#242A0A #4D5C16 #778D22 #A1BE2E #BBD654

Accessibility & contrast

On white

3.74
#778D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#778D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D22
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D22#FFFFFF#000000##000000
##778D221.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840B
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#7E8579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d22;
/* rgb */ color: rgb(119, 141, 34);
/* oklch */ color: oklch(60.6% 0.131 120.8);
Tailwind
colors: {
  custom: {
    50: '#a1ae66',
    500: '#778d22',
    950: '#000000',
  },
}
SCSS
$custom: #778d22;
$custom-light: #a1ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#778d22",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 72.336,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60572,
    "c": 0.13105,
    "h": 120.8
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#778D22
secondary
#6751B9
accent
#44E465
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778D22

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

Preview Lab → · Contrast checker → · Palette generator →

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