#778727#778727

#778727 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 59.1% C 0.120 H 118.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#778727
RGBrgb(119, 135, 39)
HSLhsl(70, 55%, 34%)
HSVhsv(70, 71%, 53%)
CMYKcmyk(11.9%, 0%, 71.1%, 47.1%)
CIE-LABlab(53.38, -19.35, 47.19)
CIE-LCHlch(53.38, 51.00, 112.30°)
OKLaboklab(59.15% -0.0573 0.1058)
OKLCHoklch(59.15% 0.12 118.5)
XYZxyz(16.6383, 21.3965, 5.1725)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778727 #372787
analogous
#876727 #778727 #478727
triadic
#778727 #277787 #872777
tetradic
#778727 #278767 #372787 #872747
square
#778727 #278767 #372787 #872747
split-complementary
#778727 #274787 #672787
monochromatic
#23280C #4D5819 #778727 #A1B635 #BBCF59

Accessibility & contrast

On white

3.98
#778727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#778727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778727
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778727#FFFFFF#000000##000000
##7787271.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F18
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#7E8074
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #778727;
/* rgb */ color: rgb(119, 135, 39);
/* oklch */ color: oklch(59.1% 0.120 118.5);
Tailwind
colors: {
  custom: {
    50: '#a1a967',
    500: '#778727',
    950: '#000000',
  },
}
SCSS
$custom: #778727;
$custom-light: #a1a967;
$custom-dark: #000000;
JSON
{
  "hex": "#778727",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 70,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.12034,
    "h": 118.5
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

primary
#778727
secondary
#6556B4
accent
#49DF62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778727

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

Preview Lab → · Contrast checker → · Palette generator →

#778727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva