#778C27#778C27

#778C27 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.4% C 0.127 H 120.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#778C27
RGBrgb(119, 140, 39)
HSLhsl(72, 56%, 35%)
HSVhsv(72, 72%, 55%)
CMYKcmyk(15%, 0%, 72.1%, 45.1%)
CIE-LABlab(54.89, -21.92, 48.70)
CIE-LCHlch(54.89, 53.40, 114.23°)
OKLaboklab(60.36% -0.0644 0.109)
OKLCHoklch(60.36% 0.127 120.6)
XYZxyz(17.3523, 22.8246, 5.4105)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C27 #3C278C
analogous
#8C6E27 #778C27 #458C27
triadic
#778C27 #27778C #8C2777
tetradic
#778C27 #278C6E #3C278C #8C2745
square
#778C27 #278C6E #3C278C #8C2745
split-complementary
#778C27 #27458C #6E278C
monochromatic
#262C0C #4E5C1A #778C27 #A0BC34 #B9D25C

Accessibility & contrast

On white

3.77
#778C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#778C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C27
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C27#FFFFFF#000000##000000
##778C271.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958416
Deuteranopia (green-blind)
#92842F
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c27;
/* rgb */ color: rgb(119, 140, 39);
/* oklch */ color: oklch(60.4% 0.127 120.6);
Tailwind
colors: {
  custom: {
    50: '#a1ad68',
    500: '#778c27',
    950: '#000000',
  },
}
SCSS
$custom: #778c27;
$custom-light: #a1ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#778c27",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 72.475,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.12659,
    "h": 120.6
  },
  "luminance": 0.22825
}

Semantic roles & 50–950 ramp

primary
#778C27
secondary
#6C58B7
accent
#48E068
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C27

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

Preview Lab → · Contrast checker → · Palette generator →

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