#778E27#778E27

#778E27 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.129 H 121.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#778E27
RGBrgb(119, 142, 39)
HSLhsl(73, 57%, 35%)
HSVhsv(73, 73%, 56%)
CMYKcmyk(16.2%, 0%, 72.5%, 44.3%)
CIE-LABlab(55.50, -22.93, 49.30)
CIE-LCHlch(55.50, 54.37, 114.95°)
OKLaboklab(60.85% -0.0672 0.1102)
OKLCHoklch(60.85% 0.129 121.4)
XYZxyz(17.6472, 23.4144, 5.5088)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E27 #3E278E
analogous
#8E7127 #778E27 #438E27
triadic
#778E27 #27778E #8E2777
tetradic
#778E27 #278E71 #3E278E #8E2743
square
#778E27 #278E71 #3E278E #8E2743
split-complementary
#778E27 #27438E #71278E
monochromatic
#272E0D #4F5E1A #778E27 #9FBE34 #B8D25D

Accessibility & contrast

On white

3.70
#778E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#778E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E27
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E27#FFFFFF#000000##000000
##778E271.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978515
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#7E867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e27;
/* rgb */ color: rgb(119, 142, 39);
/* oklch */ color: oklch(60.9% 0.129 121.4);
Tailwind
colors: {
  custom: {
    50: '#a1af68',
    500: '#778e27',
    950: '#000000',
  },
}
SCSS
$custom: #778e27;
$custom-light: #a1af68;
$custom-dark: #000000;
JSON
{
  "hex": "#778e27",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 73.398,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.12912,
    "h": 121.4
  },
  "luminance": 0.23414
}

Semantic roles & 50–950 ramp

primary
#778E27
secondary
#6E59B8
accent
#48E06A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778E27

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

Preview Lab → · Contrast checker → · Palette generator →

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