#778F2A#778F2A

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

Color values

HEX#778F2A
RGBrgb(119, 143, 42)
HSLhsl(74, 55%, 36%)
HSVhsv(74, 71%, 56%)
CMYKcmyk(16.8%, 0%, 70.6%, 43.9%)
CIE-LABlab(55.82, -23.25, 48.44)
CIE-LCHlch(55.82, 53.73, 115.64°)
OKLaboklab(61.12% -0.0678 0.1089)
OKLCHoklch(61.12% 0.128 121.9)
XYZxyz(17.8484, 23.7340, 5.8309)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F2A #422A8F
analogous
#8F752A #778F2A #458F2A
triadic
#778F2A #2A778F #8F2A77
tetradic
#778F2A #2A8F75 #422A8F #8F2A45
square
#778F2A #2A8F75 #422A8F #8F2A45
split-complementary
#778F2A #2A458F #752A8F
monochromatic
#28300E #50601C #778F2A #9EBE38 #B7D162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778F2A#FFFFFF#000000##000000
##778F2A1.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)
#98861A
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#7D887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f2a;
/* rgb */ color: rgb(119, 143, 42);
/* oklch */ color: oklch(61.1% 0.128 121.9);
Tailwind
colors: {
  custom: {
    50: '#a1af6a',
    500: '#778f2a',
    950: '#000000',
  },
}
SCSS
$custom: #778f2a;
$custom-light: #a1af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#778f2a",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 74.257,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6112,
    "c": 0.12831,
    "h": 121.9
  },
  "luminance": 0.23734
}

Semantic roles & 50–950 ramp

primary
#778F2A
secondary
#735EB7
accent
#4ADE6D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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