#778B1E#778B1E

#778B1E is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.131 H 119.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#778B1E
RGBrgb(119, 139, 30)
HSLhsl(71, 64%, 33%)
HSVhsv(71, 78%, 55%)
CMYKcmyk(14.4%, 0%, 78.4%, 45.5%)
CIE-LABlab(54.53, -21.90, 51.61)
CIE-LCHlch(54.53, 56.07, 112.99°)
OKLaboklab(60.06% -0.0652 0.1135)
OKLCHoklch(60.06% 0.131 119.9)
XYZxyz(17.0751, 22.4810, 4.6678)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B1E #321E8B
analogous
#8B681E #778B1E #408B1E
triadic
#778B1E #1E778B #8B1E77
tetradic
#778B1E #1E8B68 #321E8B #8B1E40
square
#778B1E #1E8B68 #321E8B #8B1E40
split-complementary
#778B1E #1E408B #681E8B
monochromatic
#212608 #4C5913 #778B1E #A2BD29 #BED84B

Accessibility & contrast

On white

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

On black

5.50
#778B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B1E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B1E#FFFFFF#000000##000000
##778B1E1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948302
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b1e;
/* rgb */ color: rgb(119, 139, 30);
/* oklch */ color: oklch(60.1% 0.131 119.9);
Tailwind
colors: {
  custom: {
    50: '#a1ac64',
    500: '#778b1e',
    950: '#000000',
  },
}
SCSS
$custom: #778b1e;
$custom-light: #a1ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#778b1e",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 71.009,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.13092,
    "h": 119.9
  },
  "luminance": 0.22481
}

Semantic roles & 50–950 ramp

primary
#778B1E
secondary
#5F4ABB
accent
#40E75F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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