#778E17#778E17

#778E17 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.8% C 0.138 H 120.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#778E17
RGBrgb(119, 142, 23)
HSLhsl(72, 72%, 32%)
HSVhsv(72, 84%, 56%)
CMYKcmyk(16.2%, 0%, 83.8%, 44.3%)
CIE-LABlab(55.41, -23.70, 54.52)
CIE-LCHlch(55.41, 59.45, 113.50°)
OKLaboklab(60.76% -0.0707 0.1185)
OKLCHoklch(60.76% 0.138 120.8)
XYZxyz(17.4357, 23.3298, 4.3950)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E17 #2E178E
analogous
#8E6A17 #778E17 #3B8E17
triadic
#778E17 #17778E #8E1777
tetradic
#778E17 #178E6A #2E178E #8E173B
square
#778E17 #178E6A #2E178E #8E173B
split-complementary
#778E17 #173B8E #6A178E
monochromatic
#1F2506 #4B590E #778E17 #A3C320 #C1E03F

Accessibility & contrast

On white

3.71
#778E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#778E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E17
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E17#FFFFFF#000000##000000
##778E171.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e17;
/* rgb */ color: rgb(119, 142, 23);
/* oklch */ color: oklch(60.8% 0.138 120.8);
Tailwind
colors: {
  custom: {
    50: '#a2af61',
    500: '#778e17',
    950: '#000000',
  },
}
SCSS
$custom: #778e17;
$custom-light: #a2af61;
$custom-dark: #000000;
JSON
{
  "hex": "#778e17",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 71.597,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.13795,
    "h": 120.8
  },
  "luminance": 0.2333
}

Semantic roles & 50–950 ramp

primary
#778E17
secondary
#5940C0
accent
#39EF5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778E17

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

Preview Lab → · Contrast checker → · Palette generator →

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