#778E21#778E21

#778E21 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.133 H 121.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#778E21
RGBrgb(119, 142, 33)
HSLhsl(73, 62%, 34%)
HSVhsv(73, 77%, 56%)
CMYKcmyk(16.2%, 0%, 76.8%, 44.3%)
CIE-LABlab(55.46, -23.27, 51.46)
CIE-LCHlch(55.46, 56.48, 114.33°)
OKLaboklab(60.81% -0.0687 0.1137)
OKLCHoklch(60.81% 0.133 121.1)
XYZxyz(17.5556, 23.3778, 5.0261)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E21 #38218E
analogous
#8E6F21 #778E21 #408E21
triadic
#778E21 #21778E #8E2177
tetradic
#778E21 #218E6F #38218E #8E2140
square
#778E21 #218E6F #38218E #8E2140
split-complementary
#778E21 #21408E #6F218E
monochromatic
#242B0A #4D5C15 #778E21 #A1C02D #BBD752

Accessibility & contrast

On white

3.70
#778E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#778E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E21
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E21#FFFFFF#000000##000000
##778E211.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978507
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e21;
/* rgb */ color: rgb(119, 142, 33);
/* oklch */ color: oklch(60.8% 0.133 121.1);
Tailwind
colors: {
  custom: {
    50: '#a1af65',
    500: '#778e21',
    950: '#000000',
  },
}
SCSS
$custom: #778e21;
$custom-light: #a1af65;
$custom-dark: #000000;
JSON
{
  "hex": "#778e21",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 72.661,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6081,
    "c": 0.13288,
    "h": 121.1
  },
  "luminance": 0.23378
}

Semantic roles & 50–950 ramp

primary
#778E21
secondary
#6750BA
accent
#42E565
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778E21

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

Preview Lab → · Contrast checker → · Palette generator →

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