#778D23#778D23

#778D23 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.130 H 120.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#778D23
RGBrgb(119, 141, 35)
HSLhsl(72, 60%, 35%)
HSVhsv(72, 75%, 55%)
CMYKcmyk(15.6%, 0%, 75.2%, 44.7%)
CIE-LABlab(55.17, -22.66, 50.48)
CIE-LCHlch(55.17, 55.33, 114.17°)
OKLaboklab(60.58% -0.0669 0.112)
OKLCHoklch(60.58% 0.13 120.8)
XYZxyz(17.4363, 23.0931, 5.1286)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D23 #39238D
analogous
#8D6E23 #778D23 #428D23
triadic
#778D23 #23778D #8D2377
tetradic
#778D23 #238D6E #39238D #8D2342
square
#778D23 #238D6E #39238D #8D2342
split-complementary
#778D23 #23428D #6E238D
monochromatic
#242B0B #4E5C17 #778D23 #A0BE2F #BAD555

Accessibility & contrast

On white

3.74
#778D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#778D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D23
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D23#FFFFFF#000000##000000
##778D231.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840D
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#7E8579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d23;
/* rgb */ color: rgb(119, 141, 35);
/* oklch */ color: oklch(60.6% 0.130 120.8);
Tailwind
colors: {
  custom: {
    50: '#a1ae66',
    500: '#778d23',
    950: '#000000',
  },
}
SCSS
$custom: #778d23;
$custom-light: #a1ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#778d23",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 72.453,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60579,
    "c": 0.13044,
    "h": 120.8
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

primary
#778D23
secondary
#6853B9
accent
#44E365
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778D23

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

Preview Lab → · Contrast checker → · Palette generator →

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