#778F1C#778F1C

#778F1C is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.0% C 0.137 H 121.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#778F1C
RGBrgb(119, 143, 28)
HSLhsl(73, 67%, 34%)
HSVhsv(73, 80%, 56%)
CMYKcmyk(16.8%, 0%, 80.4%, 43.9%)
CIE-LABlab(55.74, -24.00, 53.36)
CIE-LCHlch(55.74, 58.51, 114.22°)
OKLaboklab(61.03% -0.0711 0.1169)
OKLCHoklch(61.03% 0.137 121.3)
XYZxyz(17.6401, 23.6507, 4.7341)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F1C #341C8F
analogous
#8F6D1C #778F1C #3D8F1C
triadic
#778F1C #1C778F #8F1C77
tetradic
#778F1C #1C8F6D #341C8F #8F1C3D
square
#778F1C #1C8F6D #341C8F #8F1C3D
split-complementary
#778F1C #1C3D8F #6D1C8F
monochromatic
#222908 #4C5C12 #778F1C #A2C226 #BDDC4A

Accessibility & contrast

On white

3.66
#778F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#778F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F1C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F1C#FFFFFF#000000##000000
##778F1C1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f1c;
/* rgb */ color: rgb(119, 143, 28);
/* oklch */ color: oklch(61.0% 0.137 121.3);
Tailwind
colors: {
  custom: {
    50: '#a2af63',
    500: '#778f1c',
    950: '#000000',
  },
}
SCSS
$custom: #778f1c;
$custom-light: #a2af63;
$custom-dark: #000000;
JSON
{
  "hex": "#778f1c",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 72.522,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61025,
    "c": 0.13681,
    "h": 121.3
  },
  "luminance": 0.23651
}

Semantic roles & 50–950 ramp

primary
#778F1C
secondary
#6149BE
accent
#3EEA62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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