#778D18#778D18

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

Color values

HEX#778D18
RGBrgb(119, 141, 24)
HSLhsl(71, 71%, 32%)
HSVhsv(71, 83%, 55%)
CMYKcmyk(15.6%, 0%, 83%, 44.7%)
CIE-LABlab(55.11, -23.17, 53.98)
CIE-LCHlch(55.11, 58.74, 113.23°)
OKLaboklab(60.51% -0.0691 0.1175)
OKLCHoklch(60.51% 0.136 120.5)
XYZxyz(17.2978, 23.0377, 4.3994)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D18 #2E188D
analogous
#8D6918 #778D18 #3D8D18
triadic
#778D18 #18778D #8D1877
tetradic
#778D18 #188D69 #2E188D #8D183D
square
#778D18 #188D69 #2E188D #8D183D
split-complementary
#778D18 #183D8D #69188D
monochromatic
#1F2406 #4B590F #778D18 #A3C121 #C1DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778D18#FFFFFF#000000##000000
##778D181.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)
#968400
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#7E8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d18;
/* rgb */ color: rgb(119, 141, 24);
/* oklch */ color: oklch(60.5% 0.136 120.5);
Tailwind
colors: {
  custom: {
    50: '#a2ae61',
    500: '#778d18',
    950: '#000000',
  },
}
SCSS
$custom: #778d18;
$custom-light: #a2ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#778d18",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 71.282,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60515,
    "c": 0.13631,
    "h": 120.5
  },
  "luminance": 0.23038
}

Semantic roles & 50–950 ramp

primary
#778D18
secondary
#5942BF
accent
#3AEE5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778D18

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

Preview Lab → · Contrast checker → · Palette generator →

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