#778F21#778F21

#778F21 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.134 H 121.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#778F21
RGBrgb(119, 143, 33)
HSLhsl(73, 63%, 35%)
HSVhsv(73, 77%, 56%)
CMYKcmyk(16.8%, 0%, 76.9%, 43.9%)
CIE-LABlab(55.76, -23.77, 51.75)
CIE-LCHlch(55.76, 56.95, 114.67°)
OKLaboklab(61.06% -0.0701 0.1144)
OKLCHoklch(61.06% 0.134 121.5)
XYZxyz(17.7050, 23.6767, 5.0759)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F21 #39218F
analogous
#8F7021 #778F21 #408F21
triadic
#778F21 #21778F #8F2177
tetradic
#778F21 #218F70 #39218F #8F2140
square
#778F21 #218F70 #39218F #8F2140
split-complementary
#778F21 #21408F #70218F
monochromatic
#242C0A #4E5D16 #778F21 #A0C12C #BAD753

Accessibility & contrast

On white

3.66
#778F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#778F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F21
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F21#FFFFFF#000000##000000
##778F211.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988607
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f21;
/* rgb */ color: rgb(119, 143, 33);
/* oklch */ color: oklch(61.1% 0.134 121.5);
Tailwind
colors: {
  custom: {
    50: '#a1af65',
    500: '#778f21',
    950: '#000000',
  },
}
SCSS
$custom: #778f21;
$custom-light: #a1af65;
$custom-dark: #000000;
JSON
{
  "hex": "#778f21",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 73.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.13411,
    "h": 121.5
  },
  "luminance": 0.23677
}

Semantic roles & 50–950 ramp

primary
#778F21
secondary
#6851BB
accent
#42E666
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778F21

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

Preview Lab → · Contrast checker → · Palette generator →

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