#778A24#778A24

#778A24 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.9% C 0.126 H 119.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#778A24
RGBrgb(119, 138, 36)
HSLhsl(71, 59%, 34%)
HSVhsv(71, 74%, 54%)
CMYKcmyk(13.8%, 0%, 73.9%, 45.9%)
CIE-LABlab(54.27, -21.08, 49.23)
CIE-LCHlch(54.27, 53.55, 113.18°)
OKLaboklab(59.85% -0.0624 0.1096)
OKLCHoklch(59.85% 0.126 119.7)
XYZxyz(17.0150, 22.2264, 5.0625)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A24 #37248A
analogous
#8A6A24 #778A24 #448A24
triadic
#778A24 #24778A #8A2477
tetradic
#778A24 #248A6A #37248A #8A2444
square
#778A24 #248A6A #37248A #8A2444
split-complementary
#778A24 #24448A #6A248A
monochromatic
#23290B #4D5917 #778A24 #A1BB31 #BBD356

Accessibility & contrast

On white

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

On black

5.45
#778A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A24
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A24#FFFFFF#000000##000000
##778A241.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938211
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#7E8276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a24;
/* rgb */ color: rgb(119, 138, 36);
/* oklch */ color: oklch(59.9% 0.126 119.7);
Tailwind
colors: {
  custom: {
    50: '#a1ac66',
    500: '#778a24',
    950: '#000000',
  },
}
SCSS
$custom: #778a24;
$custom-light: #a1ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#778a24",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 71.176,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59854,
    "c": 0.12609,
    "h": 119.7
  },
  "luminance": 0.22226
}

Semantic roles & 50–950 ramp

primary
#778A24
secondary
#6553B7
accent
#46E263
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778A24

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

Preview Lab → · Contrast checker → · Palette generator →

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