#778F1F#778F1F

#778F1F is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.0% C 0.135 H 121.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#778F1F
RGBrgb(119, 143, 31)
HSLhsl(73, 64%, 34%)
HSVhsv(73, 78%, 56%)
CMYKcmyk(16.8%, 0%, 78.3%, 43.9%)
CIE-LABlab(55.75, -23.87, 52.41)
CIE-LCHlch(55.75, 57.59, 114.48°)
OKLaboklab(61.04% -0.0705 0.1154)
OKLCHoklch(61.04% 0.135 121.4)
XYZxyz(17.6778, 23.6658, 4.9327)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F1F #371F8F
analogous
#8F6F1F #778F1F #3F8F1F
triadic
#778F1F #1F778F #8F1F77
tetradic
#778F1F #1F8F6F #371F8F #8F1F3F
square
#778F1F #1F8F6F #371F8F #8F1F3F
split-complementary
#778F1F #1F3F8F #6F1F8F
monochromatic
#232A09 #4D5D14 #778F1F #A1C12A #BBD94F

Accessibility & contrast

On white

3.66
#778F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#778F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F1F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F1F#FFFFFF#000000##000000
##778F1F1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988602
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f1f;
/* rgb */ color: rgb(119, 143, 31);
/* oklch */ color: oklch(61.0% 0.135 121.4);
Tailwind
colors: {
  custom: {
    50: '#a2af65',
    500: '#778f1f',
    950: '#000000',
  },
}
SCSS
$custom: #778f1f;
$custom-light: #a2af65;
$custom-dark: #000000;
JSON
{
  "hex": "#778f1f",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 72.857,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.13524,
    "h": 121.4
  },
  "luminance": 0.23666
}

Semantic roles & 50–950 ramp

primary
#778F1F
secondary
#654EBC
accent
#40E764
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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