#778B22#778B22

#778B22 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.129 H 120.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#778B22
RGBrgb(119, 139, 34)
HSLhsl(71, 61%, 34%)
HSVhsv(71, 76%, 55%)
CMYKcmyk(14.4%, 0%, 75.5%, 45.5%)
CIE-LABlab(54.56, -21.70, 50.25)
CIE-LCHlch(54.56, 54.73, 113.35°)
OKLaboklab(60.08% -0.0643 0.1114)
OKLCHoklch(60.08% 0.129 120)
XYZxyz(17.1294, 22.5027, 4.9541)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B22 #36228B
analogous
#8B6B22 #778B22 #428B22
triadic
#778B22 #22778B #8B2277
tetradic
#778B22 #228B6B #36228B #8B2242
square
#778B22 #228B6B #36228B #8B2242
split-complementary
#778B22 #22428B #6B228B
monochromatic
#23290A #4D5A16 #778B22 #A1BC2E #BCD553

Accessibility & contrast

On white

3.82
#778B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#778B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B22
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B22#FFFFFF#000000##000000
##778B221.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830C
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b22;
/* rgb */ color: rgb(119, 139, 34);
/* oklch */ color: oklch(60.1% 0.129 120.0);
Tailwind
colors: {
  custom: {
    50: '#a1ac65',
    500: '#778b22',
    950: '#000000',
  },
}
SCSS
$custom: #778b22;
$custom-light: #a1ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#778b22",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 71.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60084,
    "c": 0.12859,
    "h": 120
  },
  "luminance": 0.22503
}

Semantic roles & 50–950 ramp

primary
#778B22
secondary
#6450B8
accent
#44E462
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B22

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

Preview Lab → · Contrast checker → · Palette generator →

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