#778C26#778C26

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

Color values

HEX#778C26
RGBrgb(119, 140, 38)
HSLhsl(72, 57%, 35%)
HSVhsv(72, 73%, 55%)
CMYKcmyk(15%, 0%, 72.9%, 45.1%)
CIE-LABlab(54.88, -21.98, 49.08)
CIE-LCHlch(54.88, 53.78, 114.13°)
OKLaboklab(60.36% -0.0647 0.1096)
OKLCHoklch(60.36% 0.127 120.6)
XYZxyz(17.3360, 22.8181, 5.3244)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C26 #3B268C
analogous
#8C6E26 #778C26 #448C26
triadic
#778C26 #26778C #8C2677
tetradic
#778C26 #268C6E #3B268C #8C2644
square
#778C26 #268C6E #3B268C #8C2644
split-complementary
#778C26 #26448C #6E268C
monochromatic
#252C0C #4E5C19 #778C26 #A0BC33 #BAD25A

Accessibility & contrast

On white

3.77
#778C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##778C26#FFFFFF#000000##000000
##778C261.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958414
Deuteranopia (green-blind)
#92842E
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c26;
/* rgb */ color: rgb(119, 140, 38);
/* oklch */ color: oklch(60.4% 0.127 120.6);
Tailwind
colors: {
  custom: {
    50: '#a1ad68',
    500: '#778c26',
    950: '#000000',
  },
}
SCSS
$custom: #778c26;
$custom-light: #a1ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#778c26",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 72.353,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.12727,
    "h": 120.6
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#778C26
secondary
#6B57B7
accent
#47E167
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C26

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

Preview Lab → · Contrast checker → · Palette generator →

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