#778B24#778B24

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

Color values

HEX#778B24
RGBrgb(119, 139, 36)
HSLhsl(72, 59%, 34%)
HSVhsv(72, 74%, 55%)
CMYKcmyk(14.4%, 0%, 74.1%, 45.5%)
CIE-LABlab(54.57, -21.59, 49.53)
CIE-LCHlch(54.57, 54.03, 113.55°)
OKLaboklab(60.1% -0.0638 0.1102)
OKLCHoklch(60.1% 0.127 120.1)
XYZxyz(17.1591, 22.5146, 5.1105)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B24 #38248B
analogous
#8B6B24 #778B24 #448B24
triadic
#778B24 #24778B #8B2477
tetradic
#778B24 #248B6B #38248B #8B2444
square
#778B24 #248B6B #38248B #8B2444
split-complementary
#778B24 #24448B #6B248B
monochromatic
#242A0B #4D5A17 #778B24 #A1BC31 #BBD356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778B24#FFFFFF#000000##000000
##778B241.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)
#948311
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778b24;
/* rgb */ color: rgb(119, 139, 36);
/* oklch */ color: oklch(60.1% 0.127 120.1);
Tailwind
colors: {
  custom: {
    50: '#a1ac66',
    500: '#778b24',
    950: '#000000',
  },
}
SCSS
$custom: #778b24;
$custom-light: #a1ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#778b24",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 71.65,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.12733,
    "h": 120.1
  },
  "luminance": 0.22515
}

Semantic roles & 50–950 ramp

primary
#778B24
secondary
#6753B7
accent
#46E264
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B24

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

Preview Lab → · Contrast checker → · Palette generator →

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