#778E22#778E22

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

Color values

HEX#778E22
RGBrgb(119, 142, 34)
HSLhsl(73, 61%, 35%)
HSVhsv(73, 76%, 56%)
CMYKcmyk(16.2%, 0%, 76.1%, 44.3%)
CIE-LABlab(55.47, -23.21, 51.12)
CIE-LCHlch(55.47, 56.14, 114.42°)
OKLaboklab(60.82% -0.0685 0.1132)
OKLCHoklch(60.82% 0.132 121.2)
XYZxyz(17.5698, 23.3834, 5.1009)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E22 #39228E
analogous
#8E6F22 #778E22 #418E22
triadic
#778E22 #22778E #8E2277
tetradic
#778E22 #228E6F #39228E #8E2241
square
#778E22 #228E6F #39228E #8E2241
split-complementary
#778E22 #22418E #6F228E
monochromatic
#242B0A #4E5D16 #778E22 #A0BF2E #BAD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778E22#FFFFFF#000000##000000
##778E221.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)
#97850A
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e22;
/* rgb */ color: rgb(119, 142, 34);
/* oklch */ color: oklch(60.8% 0.132 121.2);
Tailwind
colors: {
  custom: {
    50: '#a1af66',
    500: '#778e22',
    950: '#000000',
  },
}
SCSS
$custom: #778e22;
$custom-light: #a1af66;
$custom-dark: #000000;
JSON
{
  "hex": "#778e22",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 72.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.13229,
    "h": 121.2
  },
  "luminance": 0.23383
}

Semantic roles & 50–950 ramp

primary
#778E22
secondary
#6852BA
accent
#43E466
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778E22

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

Preview Lab → · Contrast checker → · Palette generator →

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