#778F2F#778F2F

#778F2F is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.2% C 0.125 H 122.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#778F2F
RGBrgb(119, 143, 47)
HSLhsl(75, 51%, 37%)
HSVhsv(75, 67%, 56%)
CMYKcmyk(16.8%, 0%, 67.1%, 43.9%)
CIE-LABlab(55.86, -22.91, 46.41)
CIE-LCHlch(55.86, 51.75, 116.27°)
OKLaboklab(61.16% -0.0664 0.1054)
OKLCHoklch(61.16% 0.125 122.2)
XYZxyz(17.9435, 23.7721, 6.3319)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F2F #472F8F
analogous
#8F772F #778F2F #478F2F
triadic
#778F2F #2F778F #8F2F77
tetradic
#778F2F #2F8F77 #472F8F #8F2F47
square
#778F2F #2F8F77 #472F8F #8F2F47
split-complementary
#778F2F #2F478F #772F8F
monochromatic
#2A3311 #516120 #778F2F #9DBD3E #B5CE6A

Accessibility & contrast

On white

3.65
#778F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#778F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F2F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F2F#FFFFFF#000000##000000
##778F2F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978622
Deuteranopia (green-blind)
#948636
Tritanopia (blue-blind)
#7D887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f2f;
/* rgb */ color: rgb(119, 143, 47);
/* oklch */ color: oklch(61.2% 0.125 122.2);
Tailwind
colors: {
  custom: {
    50: '#a1af6d',
    500: '#778f2f',
    950: '#000000',
  },
}
SCSS
$custom: #778f2f;
$custom-light: #a1af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#778f2f",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 75,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.12459,
    "h": 122.2
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#778F2F
secondary
#7965B5
accent
#4EDA71
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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