#778C18#778C18

#778C18 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.3% C 0.135 H 120.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#778C18
RGBrgb(119, 140, 24)
HSLhsl(71, 71%, 32%)
HSVhsv(71, 83%, 55%)
CMYKcmyk(15%, 0%, 82.9%, 45.1%)
CIE-LABlab(54.81, -22.66, 53.71)
CIE-LCHlch(54.81, 58.29, 112.88°)
OKLaboklab(60.27% -0.0677 0.1169)
OKLCHoklch(60.27% 0.135 120.1)
XYZxyz(17.1511, 22.7441, 4.3505)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C18 #2D188C
analogous
#8C6718 #778C18 #3D8C18
triadic
#778C18 #18778C #8C1877
tetradic
#778C18 #188C67 #2D188C #8C183D
square
#778C18 #188C67 #2D188C #8C183D
split-complementary
#778C18 #183D8C #67188C
monochromatic
#1E2406 #4B580F #778C18 #A3C021 #C2DE40

Accessibility & contrast

On white

3.78
#778C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#778C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C18
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C18#FFFFFF#000000##000000
##778C181.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c18;
/* rgb */ color: rgb(119, 140, 24);
/* oklch */ color: oklch(60.3% 0.135 120.1);
Tailwind
colors: {
  custom: {
    50: '#a2ad61',
    500: '#778c18',
    950: '#000000',
  },
}
SCSS
$custom: #778c18;
$custom-light: #a2ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#778c18",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 70.862,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.13513,
    "h": 120.1
  },
  "luminance": 0.22744
}

Semantic roles & 50–950 ramp

primary
#778C18
secondary
#5841BF
accent
#3AED5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778C18

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

Preview Lab → · Contrast checker → · Palette generator →

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