#778F22#778F22

#778F22 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.134 H 121.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#778F22
RGBrgb(119, 143, 34)
HSLhsl(73, 62%, 35%)
HSVhsv(73, 76%, 56%)
CMYKcmyk(16.8%, 0%, 76.2%, 43.9%)
CIE-LABlab(55.77, -23.72, 51.41)
CIE-LCHlch(55.77, 56.61, 114.77°)
OKLaboklab(61.06% -0.0698 0.1138)
OKLCHoklch(61.06% 0.134 121.5)
XYZxyz(17.7192, 23.6823, 5.1507)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F22 #3A228F
analogous
#8F7122 #778F22 #418F22
triadic
#778F22 #22778F #8F2277
tetradic
#778F22 #228F71 #3A228F #8F2241
square
#778F22 #228F71 #3A228F #8F2241
split-complementary
#778F22 #22418F #71228F
monochromatic
#252C0A #4E5E16 #778F22 #A0C02E #BAD755

Accessibility & contrast

On white

3.66
#778F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#778F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F22
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F22#FFFFFF#000000##000000
##778F221.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f22;
/* rgb */ color: rgb(119, 143, 34);
/* oklch */ color: oklch(61.1% 0.134 121.5);
Tailwind
colors: {
  custom: {
    50: '#a1af66',
    500: '#778f22',
    950: '#000000',
  },
}
SCSS
$custom: #778f22;
$custom-light: #a1af66;
$custom-dark: #000000;
JSON
{
  "hex": "#778f22",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 73.211,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61061,
    "c": 0.13353,
    "h": 121.5
  },
  "luminance": 0.23682
}

Semantic roles & 50–950 ramp

primary
#778F22
secondary
#6952BA
accent
#43E567
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778F22

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

Preview Lab → · Contrast checker → · Palette generator →

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