#778B2B#778B2B

#778B2B is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.2% C 0.122 H 120.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#778B2B
RGBrgb(119, 139, 43)
HSLhsl(73, 53%, 36%)
HSVhsv(73, 69%, 55%)
CMYKcmyk(14.4%, 0%, 69.1%, 45.5%)
CIE-LABlab(54.62, -21.15, 46.81)
CIE-LCHlch(54.62, 51.37, 114.32°)
OKLaboklab(60.15% -0.0619 0.1056)
OKLCHoklch(60.15% 0.122 120.4)
XYZxyz(17.2767, 22.5616, 5.7297)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B2B #3F2B8B
analogous
#8B6F2B #778B2B #478B2B
triadic
#778B2B #2B778B #8B2B77
tetradic
#778B2B #2B8B6F #3F2B8B #8B2B47
square
#778B2B #2B8B6F #3F2B8B #8B2B47
split-complementary
#778B2B #2B478B #6F2B8B
monochromatic
#272E0E #4F5C1D #778B2B #9FBA39 #B8CE62

Accessibility & contrast

On white

3.81
#778B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#778B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B2B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B2B#FFFFFF#000000##000000
##778B2B1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#918332
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778b2b;
/* rgb */ color: rgb(119, 139, 43);
/* oklch */ color: oklch(60.2% 0.122 120.4);
Tailwind
colors: {
  custom: {
    50: '#a1ac6a',
    500: '#778b2b',
    950: '#000000',
  },
}
SCSS
$custom: #778b2b;
$custom-light: #a1ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#778b2b",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 72.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.12246,
    "h": 120.4
  },
  "luminance": 0.22562
}

Semantic roles & 50–950 ramp

primary
#778B2B
secondary
#6F5DB5
accent
#4CDC6A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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