#778C22#778C22

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

Color values

HEX#778C22
RGBrgb(119, 140, 34)
HSLhsl(72, 61%, 34%)
HSVhsv(72, 76%, 55%)
CMYKcmyk(15%, 0%, 75.7%, 45.1%)
CIE-LABlab(54.86, -22.20, 50.54)
CIE-LCHlch(54.86, 55.20, 113.72°)
OKLaboklab(60.33% -0.0657 0.112)
OKLCHoklch(60.33% 0.13 120.4)
XYZxyz(17.2749, 22.7936, 5.0026)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C22 #37228C
analogous
#8C6C22 #778C22 #428C22
triadic
#778C22 #22778C #8C2277
tetradic
#778C22 #228C6C #37228C #8C2242
square
#778C22 #228C6C #37228C #8C2242
split-complementary
#778C22 #22428C #6C228C
monochromatic
#232A0A #4D5B16 #778C22 #A1BD2E #BBD553

Accessibility & contrast

On white

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

On black

5.56
#778C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C22
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C22#FFFFFF#000000##000000
##778C221.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840B
Deuteranopia (green-blind)
#93832B
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c22;
/* rgb */ color: rgb(119, 140, 34);
/* oklch */ color: oklch(60.3% 0.130 120.4);
Tailwind
colors: {
  custom: {
    50: '#a1ad66',
    500: '#778c22',
    950: '#000000',
  },
}
SCSS
$custom: #778c22;
$custom-light: #a1ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#778c22",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 71.887,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.12982,
    "h": 120.4
  },
  "luminance": 0.22794
}

Semantic roles & 50–950 ramp

primary
#778C22
secondary
#6551B9
accent
#44E464
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C22

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

Preview Lab → · Contrast checker → · Palette generator →

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