#778B1A#778B1A

#778B1A is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.0% C 0.133 H 119.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#778B1A
RGBrgb(119, 139, 26)
HSLhsl(71, 68%, 32%)
HSVhsv(71, 81%, 55%)
CMYKcmyk(14.4%, 0%, 81.3%, 45.5%)
CIE-LABlab(54.51, -22.07, 52.86)
CIE-LCHlch(54.51, 57.29, 112.67°)
OKLaboklab(60.04% -0.066 0.1155)
OKLCHoklch(60.04% 0.133 119.7)
XYZxyz(17.0272, 22.4618, 4.4156)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B1A #2E1A8B
analogous
#8B661A #778B1A #3F8B1A
triadic
#778B1A #1A778B #8B1A77
tetradic
#778B1A #1A8B66 #2E1A8B #8B1A3F
square
#778B1A #1A8B66 #2E1A8B #8B1A3F
split-complementary
#778B1A #1A3F8B #661A8B
monochromatic
#1F2407 #4B5710 #778B1A #A3BF24 #C1DC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778B1A#FFFFFF#000000##000000
##778B1A1.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)
#948300
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#7E8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b1a;
/* rgb */ color: rgb(119, 139, 26);
/* oklch */ color: oklch(60.0% 0.133 119.7);
Tailwind
colors: {
  custom: {
    50: '#a2ac62',
    500: '#778b1a',
    950: '#000000',
  },
}
SCSS
$custom: #778b1a;
$custom-light: #a2ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#778b1a",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 70.619,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.13299,
    "h": 119.7
  },
  "luminance": 0.22462
}

Semantic roles & 50–950 ramp

primary
#778B1A
secondary
#5944BD
accent
#3CEB5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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