#778B18#778B18

#778B18 is a mid, vivid yellow-green. Relative luminance 0.225; 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#778B18
RGBrgb(119, 139, 24)
HSLhsl(70, 71%, 32%)
HSVhsv(70, 83%, 55%)
CMYKcmyk(14.4%, 0%, 82.7%, 45.5%)
CIE-LABlab(54.50, -22.16, 53.44)
CIE-LCHlch(54.50, 57.85, 112.52°)
OKLaboklab(60.02% -0.0664 0.1163)
OKLCHoklch(60.02% 0.134 119.7)
XYZxyz(17.0056, 22.4532, 4.3020)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B18 #2C188B
analogous
#8B6618 #778B18 #3E8B18
triadic
#778B18 #18778B #8B1877
tetradic
#778B18 #188B66 #2C188B #8B183E
square
#778B18 #188B66 #2C188B #8B183E
split-complementary
#778B18 #183E8B #66188B
monochromatic
#1E2306 #4A570F #778B18 #A4BF21 #C2DE3F

Accessibility & contrast

On white

3.82
#778B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##778B18#FFFFFF#000000##000000
##778B181.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778b18;
/* rgb */ color: rgb(119, 139, 24);
/* oklch */ color: oklch(60.0% 0.134 119.7);
Tailwind
colors: {
  custom: {
    50: '#a2ac61',
    500: '#778b18',
    950: '#000000',
  },
}
SCSS
$custom: #778b18;
$custom-light: #a2ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#778b18",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 70.435,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.13394,
    "h": 119.7
  },
  "luminance": 0.22453
}

Semantic roles & 50–950 ramp

primary
#778B18
secondary
#5640BE
accent
#3AED5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778B18

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

Preview Lab → · Contrast checker → · Palette generator →

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