#778F2D#778F2D

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

Color values

HEX#778F2D
RGBrgb(119, 143, 45)
HSLhsl(75, 52%, 37%)
HSVhsv(75, 69%, 56%)
CMYKcmyk(16.8%, 0%, 68.5%, 43.9%)
CIE-LABlab(55.84, -23.05, 47.24)
CIE-LCHlch(55.84, 52.56, 116.01°)
OKLaboklab(61.15% -0.067 0.1069)
OKLCHoklch(61.15% 0.126 122.1)
XYZxyz(17.9041, 23.7563, 6.1243)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F2D #452D8F
analogous
#8F762D #778F2D #468F2D
triadic
#778F2D #2D778F #8F2D77
tetradic
#778F2D #2D8F76 #452D8F #8F2D46
square
#778F2D #2D8F76 #452D8F #8F2D46
split-complementary
#778F2D #2D468F #762D8F
monochromatic
#2A3210 #50601E #778F2D #9EBE3C #B6CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778F2D#FFFFFF#000000##000000
##778F2D1.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)
#98861F
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#7D887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f2d;
/* rgb */ color: rgb(119, 143, 45);
/* oklch */ color: oklch(61.1% 0.126 122.1);
Tailwind
colors: {
  custom: {
    50: '#a1af6c',
    500: '#778f2d',
    950: '#000000',
  },
}
SCSS
$custom: #778f2d;
$custom-light: #a1af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#778f2d",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 74.694,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.12612,
    "h": 122.1
  },
  "luminance": 0.23756
}

Semantic roles & 50–950 ramp

primary
#778F2D
secondary
#7662B6
accent
#4CDC6F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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