#778F2E#778F2E

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

Color values

HEX#778F2E
RGBrgb(119, 143, 46)
HSLhsl(75, 51%, 37%)
HSVhsv(75, 68%, 56%)
CMYKcmyk(16.8%, 0%, 67.8%, 43.9%)
CIE-LABlab(55.85, -22.98, 46.83)
CIE-LCHlch(55.85, 52.16, 116.14°)
OKLaboklab(61.15% -0.0667 0.1062)
OKLCHoklch(61.15% 0.125 122.1)
XYZxyz(17.9236, 23.7641, 6.2269)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F2E #462E8F
analogous
#8F772E #778F2E #478F2E
triadic
#778F2E #2E778F #8F2E77
tetradic
#778F2E #2E8F77 #462E8F #8F2E47
square
#778F2E #2E8F77 #462E8F #8F2E47
split-complementary
#778F2E #2E478F #772E8F
monochromatic
#2A3210 #50611F #778F2E #9EBD3D #B5CF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #778f2e;
/* rgb */ color: rgb(119, 143, 46);
/* oklch */ color: oklch(61.2% 0.125 122.1);
Tailwind
colors: {
  custom: {
    50: '#a1af6c',
    500: '#778f2e',
    950: '#000000',
  },
}
SCSS
$custom: #778f2e;
$custom-light: #a1af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#778f2e",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 74.845,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.12537,
    "h": 122.1
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#778F2E
secondary
#7863B6
accent
#4DDB70
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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