#778B1F#778B1F

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

Color values

HEX#778B1F
RGBrgb(119, 139, 31)
HSLhsl(71, 64%, 33%)
HSVhsv(71, 78%, 55%)
CMYKcmyk(14.4%, 0%, 77.7%, 45.5%)
CIE-LABlab(54.54, -21.85, 51.28)
CIE-LCHlch(54.54, 55.74, 113.08°)
OKLaboklab(60.06% -0.065 0.113)
OKLCHoklch(60.06% 0.13 119.9)
XYZxyz(17.0880, 22.4862, 4.7361)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B1F #331F8B
analogous
#8B691F #778B1F #418B1F
triadic
#778B1F #1F778B #8B1F77
tetradic
#778B1F #1F8B69 #331F8B #8B1F41
square
#778B1F #1F8B69 #331F8B #8B1F41
split-complementary
#778B1F #1F418B #691F8B
monochromatic
#212709 #4C5914 #778B1F #A2BD2A #BED74D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778B1F#FFFFFF#000000##000000
##778B1F1.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)
#948304
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b1f;
/* rgb */ color: rgb(119, 139, 31);
/* oklch */ color: oklch(60.1% 0.130 119.9);
Tailwind
colors: {
  custom: {
    50: '#a1ac64',
    500: '#778b1f',
    950: '#000000',
  },
}
SCSS
$custom: #778b1f;
$custom-light: #a1ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#778b1f",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 71.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.13035,
    "h": 119.9
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#778B1F
secondary
#604CBA
accent
#41E760
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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