#778A2C#778A2C

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

Color values

HEX#778A2C
RGBrgb(119, 138, 44)
HSLhsl(72, 52%, 36%)
HSVhsv(72, 68%, 54%)
CMYKcmyk(13.8%, 0%, 68.1%, 45.9%)
CIE-LABlab(54.32, -20.57, 46.08)
CIE-LCHlch(54.32, 50.47, 114.06°)
OKLaboklab(59.92% -0.0602 0.1043)
OKLCHoklch(59.92% 0.12 120)
XYZxyz(17.1511, 22.2808, 5.7795)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A2C #3F2C8A
analogous
#8A6E2C #778A2C #488A2C
triadic
#778A2C #2C778A #8A2C77
tetradic
#778A2C #2C8A6E #3F2C8A #8A2C48
square
#778A2C #2C8A6E #3F2C8A #8A2C48
split-complementary
#778A2C #2C488A #6E2C8A
monochromatic
#272D0E #4F5C1D #778A2C #9FB83B #B8CD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778A2C#FFFFFF#000000##000000
##778A2C1.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)
#93821F
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a2c;
/* rgb */ color: rgb(119, 138, 44);
/* oklch */ color: oklch(59.9% 0.120 120.0);
Tailwind
colors: {
  custom: {
    50: '#a1ac6b',
    500: '#778a2c',
    950: '#000000',
  },
}
SCSS
$custom: #778a2c;
$custom-light: #a1ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#778a2c",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 72.128,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59918,
    "c": 0.12042,
    "h": 120
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#778A2C
secondary
#6F5EB4
accent
#4DDB69
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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