#778C23#778C23

#778C23 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.129 H 120.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#778C23
RGBrgb(119, 140, 35)
HSLhsl(72, 60%, 34%)
HSVhsv(72, 75%, 55%)
CMYKcmyk(15%, 0%, 75%, 45.1%)
CIE-LABlab(54.87, -22.15, 50.18)
CIE-LCHlch(54.87, 54.85, 113.82°)
OKLaboklab(60.33% -0.0654 0.1114)
OKLCHoklch(60.33% 0.129 120.4)
XYZxyz(17.2895, 22.7995, 5.0797)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C23 #38238C
analogous
#8C6D23 #778C23 #438C23
triadic
#778C23 #23778C #8C2377
tetradic
#778C23 #238C6D #38238C #8C2343
square
#778C23 #238C6D #38238C #8C2343
split-complementary
#778C23 #23438C #6D238C
monochromatic
#242A0B #4D5B17 #778C23 #A1BD2F #BBD455

Accessibility & contrast

On white

3.78
#778C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#778C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C23
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C23#FFFFFF#000000##000000
##778C231.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840E
Deuteranopia (green-blind)
#93832C
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c23;
/* rgb */ color: rgb(119, 140, 35);
/* oklch */ color: oklch(60.3% 0.129 120.4);
Tailwind
colors: {
  custom: {
    50: '#a1ad66',
    500: '#778c23',
    950: '#000000',
  },
}
SCSS
$custom: #778c23;
$custom-light: #a1ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#778c23",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 72,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60334,
    "c": 0.1292,
    "h": 120.4
  },
  "luminance": 0.22799
}

Semantic roles & 50–950 ramp

primary
#778C23
secondary
#6752B8
accent
#45E364
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C23

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

Preview Lab → · Contrast checker → · Palette generator →

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