#778B23#778B23

#778B23 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.128 H 120.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#778B23
RGBrgb(119, 139, 35)
HSLhsl(72, 60%, 34%)
HSVhsv(72, 75%, 55%)
CMYKcmyk(14.4%, 0%, 74.8%, 45.5%)
CIE-LABlab(54.56, -21.64, 49.89)
CIE-LCHlch(54.56, 54.38, 113.45°)
OKLaboklab(60.09% -0.064 0.1108)
OKLCHoklch(60.09% 0.128 120)
XYZxyz(17.1441, 22.5086, 5.0312)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B23 #37238B
analogous
#8B6B23 #778B23 #438B23
triadic
#778B23 #23778B #8B2377
tetradic
#778B23 #238B6B #37238B #8B2343
square
#778B23 #238B6B #37238B #8B2343
split-complementary
#778B23 #23438B #6B238B
monochromatic
#23290A #4D5A17 #778B23 #A1BC2F #BBD454

Accessibility & contrast

On white

3.82
#778B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#778B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B23
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B23#FFFFFF#000000##000000
##778B231.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b23;
/* rgb */ color: rgb(119, 139, 35);
/* oklch */ color: oklch(60.1% 0.128 120.0);
Tailwind
colors: {
  custom: {
    50: '#a1ac66',
    500: '#778b23',
    950: '#000000',
  },
}
SCSS
$custom: #778b23;
$custom-light: #a1ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#778b23",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 71.538,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.12797,
    "h": 120
  },
  "luminance": 0.22509
}

Semantic roles & 50–950 ramp

primary
#778B23
secondary
#6552B8
accent
#45E363
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B23

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

Preview Lab → · Contrast checker → · Palette generator →

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