#778A1B#778A1B

#778A1B is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.131 H 119.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#778A1B
RGBrgb(119, 138, 27)
HSLhsl(70, 67%, 32%)
HSVhsv(70, 80%, 54%)
CMYKcmyk(13.8%, 0%, 80.4%, 45.9%)
CIE-LABlab(54.22, -21.52, 52.29)
CIE-LCHlch(54.22, 56.54, 112.38°)
OKLaboklab(59.8% -0.0644 0.1144)
OKLCHoklch(59.8% 0.131 119.4)
XYZxyz(16.8944, 22.1781, 4.4275)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A1B #2E1B8A
analogous
#8A651B #778A1B #408A1B
triadic
#778A1B #1B778A #8A1B77
tetradic
#778A1B #1B8A65 #2E1B8A #8A1B40
square
#778A1B #1B8A65 #2E1B8A #8A1B40
split-complementary
#778A1B #1B408A #651B8A
monochromatic
#1F2407 #4B5711 #778A1B #A3BD25 #C1DB45

Accessibility & contrast

On white

3.86
#778A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#778A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A1B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A1B#FFFFFF#000000##000000
##778A1B1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#7E8276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a1b;
/* rgb */ color: rgb(119, 138, 27);
/* oklch */ color: oklch(59.8% 0.131 119.4);
Tailwind
colors: {
  custom: {
    50: '#a2ac62',
    500: '#778a1b',
    950: '#000000',
  },
}
SCSS
$custom: #778a1b;
$custom-light: #a2ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#778a1b",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 70.27,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.1313,
    "h": 119.4
  },
  "luminance": 0.22178
}

Semantic roles & 50–950 ramp

primary
#778A1B
secondary
#5945BC
accent
#3EEA5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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