#778D27#778D27

#778D27 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.128 H 121.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#778D27
RGBrgb(119, 141, 39)
HSLhsl(73, 57%, 35%)
HSVhsv(73, 72%, 55%)
CMYKcmyk(15.6%, 0%, 72.3%, 44.7%)
CIE-LABlab(55.19, -22.43, 49.00)
CIE-LCHlch(55.19, 53.89, 114.59°)
OKLaboklab(60.61% -0.0659 0.1096)
OKLCHoklch(60.61% 0.128 121)
XYZxyz(17.4991, 23.1182, 5.4594)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D27 #3D278D
analogous
#8D7027 #778D27 #448D27
triadic
#778D27 #27778D #8D2777
tetradic
#778D27 #278D70 #3D278D #8D2744
square
#778D27 #278D70 #3D278D #8D2744
split-complementary
#778D27 #27448D #70278D
monochromatic
#262D0C #4F5D1A #778D27 #9FBD34 #B9D25C

Accessibility & contrast

On white

3.73
#778D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#778D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D27
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D27#FFFFFF#000000##000000
##778D271.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968416
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#7E8579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d27;
/* rgb */ color: rgb(119, 141, 39);
/* oklch */ color: oklch(60.6% 0.128 121.0);
Tailwind
colors: {
  custom: {
    50: '#a1ae68',
    500: '#778d27',
    950: '#000000',
  },
}
SCSS
$custom: #778d27;
$custom-light: #a1ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#778d27",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 72.941,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60608,
    "c": 0.12785,
    "h": 121
  },
  "luminance": 0.23118
}

Semantic roles & 50–950 ramp

primary
#778D27
secondary
#6D59B7
accent
#48E069
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778D27

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

Preview Lab → · Contrast checker → · Palette generator →

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