#778F1B#778F1B

#778F1B is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.137 H 121.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#778F1B
RGBrgb(119, 143, 27)
HSLhsl(72, 68%, 33%)
HSVhsv(72, 81%, 56%)
CMYKcmyk(16.8%, 0%, 81.1%, 43.9%)
CIE-LABlab(55.73, -24.05, 53.66)
CIE-LCHlch(55.73, 58.80, 114.14°)
OKLaboklab(61.02% -0.0713 0.1173)
OKLCHoklch(61.02% 0.137 121.3)
XYZxyz(17.6284, 23.6460, 4.6721)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F1B #331B8F
analogous
#8F6D1B #778F1B #3D8F1B
triadic
#778F1B #1B778F #8F1B77
tetradic
#778F1B #1B8F6D #331B8F #8F1B3D
square
#778F1B #1B8F6D #331B8F #8F1B3D
split-complementary
#778F1B #1B3D8F #6D1B8F
monochromatic
#212808 #4C5C11 #778F1B #A2C225 #BEDC48

Accessibility & contrast

On white

3.67
#778F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#778F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F1B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F1B#FFFFFF#000000##000000
##778F1B1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778f1b;
/* rgb */ color: rgb(119, 143, 27);
/* oklch */ color: oklch(61.0% 0.137 121.3);
Tailwind
colors: {
  custom: {
    50: '#a2af63',
    500: '#778f1b',
    950: '#000000',
  },
}
SCSS
$custom: #778f1b;
$custom-light: #a2af63;
$custom-dark: #000000;
JSON
{
  "hex": "#778f1b",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 72.414,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6102,
    "c": 0.13731,
    "h": 121.3
  },
  "luminance": 0.23646
}

Semantic roles & 50–950 ramp

primary
#778F1B
secondary
#6048BE
accent
#3DEB61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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