#778C15#778C15

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

Color values

HEX#778C15
RGBrgb(119, 140, 21)
HSLhsl(71, 74%, 32%)
HSVhsv(71, 85%, 55%)
CMYKcmyk(15%, 0%, 85%, 45.1%)
CIE-LABlab(54.80, -22.77, 54.51)
CIE-LCHlch(54.80, 59.08, 112.67°)
OKLaboklab(60.26% -0.0682 0.1181)
OKLCHoklch(60.26% 0.136 120)
XYZxyz(17.1216, 22.7323, 4.1951)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C15 #2A158C
analogous
#8C6615 #778C15 #3C8C15
triadic
#778C15 #15778C #8C1577
tetradic
#778C15 #158C66 #2A158C #8C153C
square
#778C15 #158C66 #2A158C #8C153C
split-complementary
#778C15 #153C8C #66158C
monochromatic
#1D2205 #4A570D #778C15 #A4C11D #C4E13A

Accessibility & contrast

On white

3.79
#778C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##778C15#FFFFFF#000000##000000
##778C151.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778c15;
/* rgb */ color: rgb(119, 140, 21);
/* oklch */ color: oklch(60.3% 0.136 120.0);
Tailwind
colors: {
  custom: {
    50: '#a2ad60',
    500: '#778c15',
    950: '#000000',
  },
}
SCSS
$custom: #778c15;
$custom-light: #a2ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#778c15",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 70.588,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.13642,
    "h": 120
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#778C15
secondary
#543DC0
accent
#37F158
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778C15

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

Preview Lab → · Contrast checker → · Palette generator →

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