#778B27#778B27

#778B27 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.125 H 120.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#778B27
RGBrgb(119, 139, 39)
HSLhsl(72, 56%, 35%)
HSVhsv(72, 72%, 55%)
CMYKcmyk(14.4%, 0%, 71.9%, 45.5%)
CIE-LABlab(54.59, -21.41, 48.40)
CIE-LCHlch(54.59, 52.92, 113.86°)
OKLaboklab(60.12% -0.063 0.1083)
OKLCHoklch(60.12% 0.125 120.2)
XYZxyz(17.2069, 22.5337, 5.3620)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B27 #3B278B
analogous
#8B6D27 #778B27 #458B27
triadic
#778B27 #27778B #8B2777
tetradic
#778B27 #278B6D #3B278B #8B2745
square
#778B27 #278B6D #3B278B #8B2745
split-complementary
#778B27 #27458B #6D278B
monochromatic
#252B0C #4E5B1A #778B27 #A0BB34 #BAD15B

Accessibility & contrast

On white

3.81
#778B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#778B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B27
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B27#FFFFFF#000000##000000
##778B271.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948316
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#7E8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778b27;
/* rgb */ color: rgb(119, 139, 39);
/* oklch */ color: oklch(60.1% 0.125 120.2);
Tailwind
colors: {
  custom: {
    50: '#a1ac68',
    500: '#778b27',
    950: '#000000',
  },
}
SCSS
$custom: #778b27;
$custom-light: #a1ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#778b27",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 72,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.12534,
    "h": 120.2
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#778B27
secondary
#6B58B6
accent
#48DF67
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B27

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

Preview Lab → · Contrast checker → · Palette generator →

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