#778B26#778B26

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

Color values

HEX#778B26
RGBrgb(119, 139, 38)
HSLhsl(72, 57%, 35%)
HSVhsv(72, 73%, 55%)
CMYKcmyk(14.4%, 0%, 72.7%, 45.5%)
CIE-LABlab(54.58, -21.47, 48.78)
CIE-LCHlch(54.58, 53.30, 113.76°)
OKLaboklab(60.11% -0.0633 0.109)
OKLCHoklch(60.11% 0.126 120.2)
XYZxyz(17.1905, 22.5272, 5.2759)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B26 #3A268B
analogous
#8B6C26 #778B26 #458B26
triadic
#778B26 #26778B #8B2677
tetradic
#778B26 #268B6C #3A268B #8B2645
square
#778B26 #268B6C #3A268B #8B2645
split-complementary
#778B26 #26458B #6C268B
monochromatic
#252B0C #4E5B19 #778B26 #A0BB33 #BAD25A

Accessibility & contrast

On white

3.81
#778B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#778B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B26
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B26#FFFFFF#000000##000000
##778B261.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948315
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778b26;
/* rgb */ color: rgb(119, 139, 38);
/* oklch */ color: oklch(60.1% 0.126 120.2);
Tailwind
colors: {
  custom: {
    50: '#a1ac67',
    500: '#778b26',
    950: '#000000',
  },
}
SCSS
$custom: #778b26;
$custom-light: #a1ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#778b26",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 71.881,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60112,
    "c": 0.12601,
    "h": 120.2
  },
  "luminance": 0.22527
}

Semantic roles & 50–950 ramp

primary
#778B26
secondary
#6956B7
accent
#47E066
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B26

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

Preview Lab → · Contrast checker → · Palette generator →

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