#778A1C#778A1C

#778A1C 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#778A1C
RGBrgb(119, 138, 28)
HSLhsl(70, 66%, 33%)
HSVhsv(70, 80%, 54%)
CMYKcmyk(13.8%, 0%, 79.7%, 45.9%)
CIE-LABlab(54.22, -21.48, 51.98)
CIE-LCHlch(54.22, 56.24, 112.45°)
OKLaboklab(59.8% -0.0642 0.1139)
OKLCHoklch(59.8% 0.131 119.4)
XYZxyz(16.9062, 22.1828, 4.4895)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A1C #2F1C8A
analogous
#8A661C #778A1C #408A1C
triadic
#778A1C #1C778A #8A1C77
tetradic
#778A1C #1C8A66 #2F1C8A #8A1C40
square
#778A1C #1C8A66 #2F1C8A #8A1C40
split-complementary
#778A1C #1C408A #661C8A
monochromatic
#1F2407 #4B5712 #778A1C #A3BD26 #C0DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778A1C#FFFFFF#000000##000000
##778A1C1.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)
#918227
Tritanopia (blue-blind)
#7E8276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a1c;
/* rgb */ color: rgb(119, 138, 28);
/* oklch */ color: oklch(59.8% 0.131 119.4);
Tailwind
colors: {
  custom: {
    50: '#a2ac62',
    500: '#778a1c',
    950: '#000000',
  },
}
SCSS
$custom: #778a1c;
$custom-light: #a2ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#778a1c",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 70.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.13079,
    "h": 119.4
  },
  "luminance": 0.22183
}

Semantic roles & 50–950 ramp

primary
#778A1C
secondary
#5B46BB
accent
#3FE95C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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