#778B1B#778B1B

#778B1B is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.0% C 0.132 H 119.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#778B1B
RGBrgb(119, 139, 27)
HSLhsl(71, 67%, 33%)
HSVhsv(71, 81%, 55%)
CMYKcmyk(14.4%, 0%, 80.6%, 45.5%)
CIE-LABlab(54.52, -22.03, 52.56)
CIE-LCHlch(54.52, 56.99, 112.74°)
OKLaboklab(60.04% -0.0658 0.115)
OKLCHoklch(60.04% 0.132 119.8)
XYZxyz(17.0386, 22.4664, 4.4755)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B1B #2F1B8B
analogous
#8B671B #778B1B #3F8B1B
triadic
#778B1B #1B778B #8B1B77
tetradic
#778B1B #1B8B67 #2F1B8B #8B1B3F
square
#778B1B #1B8B67 #2F1B8B #8B1B3F
split-complementary
#778B1B #1B3F8B #671B8B
monochromatic
#1F2507 #4B5811 #778B1B #A3BE25 #C0DB45

Accessibility & contrast

On white

3.82
#778B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#778B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B1B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B1B#FFFFFF#000000##000000
##778B1B1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#928326
Tritanopia (blue-blind)
#7E8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b1b;
/* rgb */ color: rgb(119, 139, 27);
/* oklch */ color: oklch(60.0% 0.132 119.8);
Tailwind
colors: {
  custom: {
    50: '#a2ac62',
    500: '#778b1b',
    950: '#000000',
  },
}
SCSS
$custom: #778b1b;
$custom-light: #a2ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#778b1b",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 70.714,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60041,
    "c": 0.13249,
    "h": 119.8
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#778B1B
secondary
#5B45BC
accent
#3DEA5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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