#778B17#778B17

#778B17 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.0% C 0.134 H 119.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#778B17
RGBrgb(119, 139, 23)
HSLhsl(70, 72%, 32%)
HSVhsv(70, 83%, 55%)
CMYKcmyk(14.4%, 0%, 83.5%, 45.5%)
CIE-LABlab(54.50, -22.19, 53.72)
CIE-LCHlch(54.50, 58.12, 112.45°)
OKLaboklab(60.02% -0.0665 0.1168)
OKLCHoklch(60.02% 0.134 119.7)
XYZxyz(16.9954, 22.4491, 4.2482)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B17 #2B178B
analogous
#8B6517 #778B17 #3D8B17
triadic
#778B17 #17778B #8B1777
tetradic
#778B17 #178B65 #2B178B #8B173D
square
#778B17 #178B65 #2B178B #8B173D
split-complementary
#778B17 #173D8B #65178B
monochromatic
#1D2206 #4A560E #778B17 #A4C020 #C3DF3D

Accessibility & contrast

On white

3.83
#778B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#778B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B17
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B17#FFFFFF#000000##000000
##778B171.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#7E8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b17;
/* rgb */ color: rgb(119, 139, 23);
/* oklch */ color: oklch(60.0% 0.134 119.7);
Tailwind
colors: {
  custom: {
    50: '#a2ac61',
    500: '#778b17',
    950: '#000000',
  },
}
SCSS
$custom: #778b17;
$custom-light: #a2ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#778b17",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 70.345,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.13439,
    "h": 119.7
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#778B17
secondary
#553FBF
accent
#39EE59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778B17

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

Preview Lab → · Contrast checker → · Palette generator →

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