#778E1F#778E1F

#778E1F is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.134 H 121.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#778E1F
RGBrgb(119, 142, 31)
HSLhsl(72, 64%, 34%)
HSVhsv(72, 78%, 56%)
CMYKcmyk(16.2%, 0%, 78.2%, 44.3%)
CIE-LABlab(55.45, -23.36, 52.13)
CIE-LCHlch(55.45, 57.13, 114.14°)
OKLaboklab(60.8% -0.0691 0.1148)
OKLCHoklch(60.8% 0.134 121.1)
XYZxyz(17.5284, 23.3669, 4.8829)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E1F #361F8E
analogous
#8E6E1F #778E1F #408E1F
triadic
#778E1F #1F778E #8E1F77
tetradic
#778E1F #1F8E6E #361F8E #8E1F40
square
#778E1F #1F8E6E #361F8E #8E1F40
split-complementary
#778E1F #1F408E #6E1F8E
monochromatic
#232A09 #4D5C14 #778E1F #A1C02A #BCD94F

Accessibility & contrast

On white

3.70
#778E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#778E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E1F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E1F#FFFFFF#000000##000000
##778E1F1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978502
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e1f;
/* rgb */ color: rgb(119, 142, 31);
/* oklch */ color: oklch(60.8% 0.134 121.1);
Tailwind
colors: {
  custom: {
    50: '#a2af64',
    500: '#778e1f',
    950: '#000000',
  },
}
SCSS
$custom: #778e1f;
$custom-light: #a2af64;
$custom-dark: #000000;
JSON
{
  "hex": "#778e1f",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 72.432,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.13401,
    "h": 121.1
  },
  "luminance": 0.23367
}

Semantic roles & 50–950 ramp

primary
#778E1F
secondary
#644DBB
accent
#41E763
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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