#778B2F#778B2F

#778B2F is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.2% C 0.119 H 120.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#778B2F
RGBrgb(119, 139, 47)
HSLhsl(73, 49%, 36%)
HSVhsv(73, 66%, 55%)
CMYKcmyk(14.4%, 0%, 66.2%, 45.5%)
CIE-LABlab(54.65, -20.87, 45.14)
CIE-LCHlch(54.65, 49.73, 114.82°)
OKLaboklab(60.19% -0.0608 0.1027)
OKLCHoklch(60.19% 0.119 120.6)
XYZxyz(17.3537, 22.5925, 6.1353)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B2F #432F8B
analogous
#8B712F #778B2F #498B2F
triadic
#778B2F #2F778B #8B2F77
tetradic
#778B2F #2F8B71 #432F8B #8B2F49
square
#778B2F #2F8B71 #432F8B #8B2F49
split-complementary
#778B2F #2F498B #712F8B
monochromatic
#293010 #505D20 #778B2F #9EB93E #B6CC68

Accessibility & contrast

On white

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

On black

5.52
#778B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B2F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B2F#FFFFFF#000000##000000
##778B2F1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#7D8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778b2f;
/* rgb */ color: rgb(119, 139, 47);
/* oklch */ color: oklch(60.2% 0.119 120.6);
Tailwind
colors: {
  custom: {
    50: '#a1ac6c',
    500: '#778b2f',
    950: '#000000',
  },
}
SCSS
$custom: #778b2f;
$custom-light: #a1ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#778b2f",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 73.043,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60189,
    "c": 0.11936,
    "h": 120.6
  },
  "luminance": 0.22592
}

Semantic roles & 50–950 ramp

primary
#778B2F
secondary
#7463B3
accent
#4FD96D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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