#778A2E#778A2E

#778A2E is a mid, moderate yellow-green. Relative luminance 0.223; OKLCH L 59.9% C 0.119 H 120.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#778A2E
RGBrgb(119, 138, 46)
HSLhsl(72, 50%, 36%)
HSVhsv(72, 67%, 54%)
CMYKcmyk(13.8%, 0%, 66.7%, 45.9%)
CIE-LABlab(54.34, -20.43, 45.24)
CIE-LCHlch(54.34, 49.64, 114.30°)
OKLaboklab(59.94% -0.0596 0.1028)
OKLCHoklch(59.94% 0.119 120.1)
XYZxyz(17.1896, 22.2962, 5.9823)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A2E #412E8A
analogous
#8A6F2E #778A2E #498A2E
triadic
#778A2E #2E778A #8A2E77
tetradic
#778A2E #2E8A6F #412E8A #8A2E49
square
#778A2E #2E8A6F #412E8A #8A2E49
split-complementary
#778A2E #2E498A #6F2E8A
monochromatic
#282E0F #4F5C1F #778A2E #9FB83D #B7CC66

Accessibility & contrast

On white

3.85
#778A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#778A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A2E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A2E#FFFFFF#000000##000000
##778A2E1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938222
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a2e;
/* rgb */ color: rgb(119, 138, 46);
/* oklch */ color: oklch(59.9% 0.119 120.1);
Tailwind
colors: {
  custom: {
    50: '#a1ac6c',
    500: '#778a2e',
    950: '#000000',
  },
}
SCSS
$custom: #778a2e;
$custom-light: #a1ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#778a2e",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 72.391,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.11886,
    "h": 120.1
  },
  "luminance": 0.22296
}

Semantic roles & 50–950 ramp

primary
#778A2E
secondary
#7261B3
accent
#4EDA6B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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