#778F17#778F17

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

Color values

HEX#778F17
RGBrgb(119, 143, 23)
HSLhsl(72, 72%, 33%)
HSVhsv(72, 84%, 56%)
CMYKcmyk(16.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(55.71, -24.20, 54.78)
CIE-LCHlch(55.71, 59.89, 113.84°)
OKLaboklab(61% -0.072 0.119)
OKLCHoklch(61% 0.139 121.2)
XYZxyz(17.5852, 23.6287, 4.4448)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F17 #2F178F
analogous
#8F6B17 #778F17 #3B8F17
triadic
#778F17 #17778F #8F1777
tetradic
#778F17 #178F6B #2F178F #8F173B
square
#778F17 #178F6B #2F178F #8F173B
split-complementary
#778F17 #173B8F #6B178F
monochromatic
#1F2606 #4B5A0F #778F17 #A3C41F #C0E040

Accessibility & contrast

On white

3.67
#778F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##778F17#FFFFFF#000000##000000
##778F171.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778f17;
/* rgb */ color: rgb(119, 143, 23);
/* oklch */ color: oklch(61.0% 0.139 121.2);
Tailwind
colors: {
  custom: {
    50: '#a2af61',
    500: '#778f17',
    950: '#000000',
  },
}
SCSS
$custom: #778f17;
$custom-light: #a2af61;
$custom-dark: #000000;
JSON
{
  "hex": "#778f17",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 72,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61,
    "c": 0.13913,
    "h": 121.2
  },
  "luminance": 0.23629
}

Semantic roles & 50–950 ramp

primary
#778F17
secondary
#5B41C1
accent
#39EF5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778F17

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

Preview Lab → · Contrast checker → · Palette generator →

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