#778D1C#778D1C

#778D1C is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.5% C 0.134 H 120.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#778D1C
RGBrgb(119, 141, 28)
HSLhsl(72, 67%, 33%)
HSVhsv(72, 80%, 55%)
CMYKcmyk(15.6%, 0%, 80.1%, 44.7%)
CIE-LABlab(55.13, -23.00, 52.80)
CIE-LCHlch(55.13, 57.60, 113.54°)
OKLaboklab(60.54% -0.0684 0.1157)
OKLCHoklch(60.54% 0.134 120.6)
XYZxyz(17.3426, 23.0556, 4.6349)
Luminance0.2306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D1C #321C8D
analogous
#8D6A1C #778D1C #3F8D1C
triadic
#778D1C #1C778D #8D1C77
tetradic
#778D1C #1C8D6A #321C8D #8D1C3F
square
#778D1C #1C8D6A #321C8D #8D1C3F
split-complementary
#778D1C #1C3F8D #6A1C8D
monochromatic
#212708 #4C5A12 #778D1C #A2C026 #BEDB49

Accessibility & contrast

On white

3.74
#778D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#778D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D1C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D1C#FFFFFF#000000##000000
##778D1C1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#7E8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d1c;
/* rgb */ color: rgb(119, 141, 28);
/* oklch */ color: oklch(60.5% 0.134 120.6);
Tailwind
colors: {
  custom: {
    50: '#a2ae63',
    500: '#778d1c',
    950: '#000000',
  },
}
SCSS
$custom: #778d1c;
$custom-light: #a2ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#778d1c",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 71.681,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60535,
    "c": 0.1344,
    "h": 120.6
  },
  "luminance": 0.23056
}

Semantic roles & 50–950 ramp

primary
#778D1C
secondary
#5F48BD
accent
#3EEA5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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