#778C1B#778C1B

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

Color values

HEX#778C1B
RGBrgb(119, 140, 27)
HSLhsl(71, 68%, 33%)
HSVhsv(71, 81%, 55%)
CMYKcmyk(15%, 0%, 80.7%, 45.1%)
CIE-LABlab(54.82, -22.54, 52.84)
CIE-LCHlch(54.82, 57.44, 113.10°)
OKLaboklab(60.29% -0.0672 0.1156)
OKLCHoklch(60.29% 0.134 120.2)
XYZxyz(17.1840, 22.7573, 4.5240)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C1B #301B8C
analogous
#8C681B #778C1B #3F8C1B
triadic
#778C1B #1B778C #8C1B77
tetradic
#778C1B #1B8C68 #301B8C #8C1B3F
square
#778C1B #1B8C68 #301B8C #8C1B3F
split-complementary
#778C1B #1B3F8C #681B8C
monochromatic
#202507 #4B5911 #778C1B #A3BF25 #C0DB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778C1B#FFFFFF#000000##000000
##778C1B1.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)
#938326
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c1b;
/* rgb */ color: rgb(119, 140, 27);
/* oklch */ color: oklch(60.3% 0.134 120.2);
Tailwind
colors: {
  custom: {
    50: '#a2ad62',
    500: '#778c1b',
    950: '#000000',
  },
}
SCSS
$custom: #778c1b;
$custom-light: #a2ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#778c1b",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 71.15,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60285,
    "c": 0.1337,
    "h": 120.2
  },
  "luminance": 0.22757
}

Semantic roles & 50–950 ramp

primary
#778C1B
secondary
#5C46BD
accent
#3DEB5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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