#778D17#778D17

#778D17 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.137 H 120.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#778D17
RGBrgb(119, 141, 23)
HSLhsl(71, 72%, 32%)
HSVhsv(71, 84%, 55%)
CMYKcmyk(15.6%, 0%, 83.7%, 44.7%)
CIE-LABlab(55.11, -23.20, 54.25)
CIE-LCHlch(55.11, 59.00, 113.16°)
OKLaboklab(60.51% -0.0693 0.1179)
OKLCHoklch(60.51% 0.137 120.4)
XYZxyz(17.2876, 23.0336, 4.3456)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D17 #2D178D
analogous
#8D6817 #778D17 #3C8D17
triadic
#778D17 #17778D #8D1777
tetradic
#778D17 #178D68 #2D178D #8D173C
square
#778D17 #178D68 #2D178D #8D173C
split-complementary
#778D17 #173C8D #68178D
monochromatic
#1E2406 #4B580E #778D17 #A3C220 #C2E03F

Accessibility & contrast

On white

3.75
#778D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##778D17#FFFFFF#000000##000000
##778D171.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#7E8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d17;
/* rgb */ color: rgb(119, 141, 23);
/* oklch */ color: oklch(60.5% 0.137 120.4);
Tailwind
colors: {
  custom: {
    50: '#a2ae61',
    500: '#778d17',
    950: '#000000',
  },
}
SCSS
$custom: #778d17;
$custom-light: #a2ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#778d17",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 71.186,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.13676,
    "h": 120.4
  },
  "luminance": 0.23034
}

Semantic roles & 50–950 ramp

primary
#778D17
secondary
#5840C0
accent
#39EF5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778D17

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

Preview Lab → · Contrast checker → · Palette generator →

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