#778C40#778C40

#778C40 is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.6% C 0.105 H 122.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#778C40
RGBrgb(119, 140, 64)
HSLhsl(77, 37%, 40%)
HSVhsv(77, 54%, 55%)
CMYKcmyk(15%, 0%, 54.3%, 45.1%)
CIE-LABlab(55.12, -19.90, 37.64)
CIE-LCHlch(55.12, 42.57, 117.87°)
OKLaboklab(60.62% -0.0563 0.0888)
OKLCHoklch(60.62% 0.105 122.4)
XYZxyz(17.9113, 23.0482, 8.3546)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C40 #55408C
analogous
#8C7B40 #778C40 #518C40
triadic
#778C40 #40778C #8C4077
tetradic
#778C40 #408C7B #55408C #8C4051
square
#778C40 #408C7B #55408C #8C4051
split-complementary
#778C40 #40518C #7B408C
monochromatic
#30381A #53622D #778C40 #99B257 #B2C581

Accessibility & contrast

On white

3.74
#778C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#778C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C40
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C40#FFFFFF#000000##000000
##778C401.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938439
Deuteranopia (green-blind)
#918445
Tritanopia (blue-blind)
#7C867B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778c40;
/* rgb */ color: rgb(119, 140, 64);
/* oklch */ color: oklch(60.6% 0.105 122.4);
Tailwind
colors: {
  custom: {
    50: '#a0ad77',
    500: '#778c40',
    950: '#000000',
  },
}
SCSS
$custom: #778c40;
$custom-light: #a0ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#778c40",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 76.579,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.10515,
    "h": 122.4
  },
  "luminance": 0.23048
}

Semantic roles & 50–950 ramp

primary
#778C40
secondary
#8778B0
accent
#5BCD7A
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #778C40

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

Preview Lab → · Contrast checker → · Palette generator →

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