#778E1A#778E1A

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

Color values

HEX#778E1A
RGBrgb(119, 142, 26)
HSLhsl(72, 69%, 33%)
HSVhsv(72, 82%, 56%)
CMYKcmyk(16.2%, 0%, 81.7%, 44.3%)
CIE-LABlab(55.42, -23.59, 53.68)
CIE-LCHlch(55.42, 58.63, 113.72°)
OKLaboklab(60.77% -0.0701 0.1172)
OKLCHoklch(60.77% 0.137 120.9)
XYZxyz(17.4675, 23.3425, 4.5624)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E1A #311A8E
analogous
#8E6B1A #778E1A #3D8E1A
triadic
#778E1A #1A778E #8E1A77
tetradic
#778E1A #1A8E6B #311A8E #8E1A3D
square
#778E1A #1A8E6B #311A8E #8E1A3D
split-complementary
#778E1A #1A3D8E #6B1A8E
monochromatic
#202707 #4C5A11 #778E1A #A2C223 #BFDD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778E1A#FFFFFF#000000##000000
##778E1A1.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)
#978500
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e1a;
/* rgb */ color: rgb(119, 142, 26);
/* oklch */ color: oklch(60.8% 0.137 120.9);
Tailwind
colors: {
  custom: {
    50: '#a2af62',
    500: '#778e1a',
    950: '#000000',
  },
}
SCSS
$custom: #778e1a;
$custom-light: #a2af62;
$custom-dark: #000000;
JSON
{
  "hex": "#778e1a",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 71.897,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.13658,
    "h": 120.9
  },
  "luminance": 0.23343
}

Semantic roles & 50–950 ramp

primary
#778E1A
secondary
#5D45BE
accent
#3CEC5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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