#778F27#778F27

#778F27 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.130 H 121.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#778F27
RGBrgb(119, 143, 39)
HSLhsl(74, 57%, 36%)
HSVhsv(74, 73%, 56%)
CMYKcmyk(16.8%, 0%, 72.7%, 43.9%)
CIE-LABlab(55.80, -23.43, 49.60)
CIE-LCHlch(55.80, 54.86, 115.29°)
OKLaboklab(61.1% -0.0686 0.1109)
OKLCHoklch(61.1% 0.13 121.8)
XYZxyz(17.7967, 23.7133, 5.5586)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F27 #3F278F
analogous
#8F7327 #778F27 #438F27
triadic
#778F27 #27778F #8F2777
tetradic
#778F27 #278F73 #3F278F #8F2743
square
#778F27 #278F73 #3F278F #8F2743
split-complementary
#778F27 #27438F #73278F
monochromatic
#272F0D #4F5F1A #778F27 #9FBF34 #B8D35D

Accessibility & contrast

On white

3.66
#778F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#778F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F27
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F27#FFFFFF#000000##000000
##778F271.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988615
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#7E877B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f27;
/* rgb */ color: rgb(119, 143, 39);
/* oklch */ color: oklch(61.1% 0.130 121.8);
Tailwind
colors: {
  custom: {
    50: '#a1af68',
    500: '#778f27',
    950: '#000000',
  },
}
SCSS
$custom: #778f27;
$custom-light: #a1af68;
$custom-dark: #000000;
JSON
{
  "hex": "#778f27",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 73.846,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.13038,
    "h": 121.8
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#778F27
secondary
#6F5AB8
accent
#47E06B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778F27

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

Preview Lab → · Contrast checker → · Palette generator →

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