#778A23#778A23

#778A23 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.127 H 119.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#778A23
RGBrgb(119, 138, 35)
HSLhsl(71, 60%, 34%)
HSVhsv(71, 75%, 54%)
CMYKcmyk(13.8%, 0%, 74.6%, 45.9%)
CIE-LABlab(54.26, -21.13, 49.60)
CIE-LCHlch(54.26, 53.91, 113.08°)
OKLaboklab(59.85% -0.0626 0.1102)
OKLCHoklch(59.85% 0.127 119.6)
XYZxyz(16.9999, 22.2203, 4.9832)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A23 #36238A
analogous
#8A6A23 #778A23 #448A23
triadic
#778A23 #23778A #8A2377
tetradic
#778A23 #238A6A #36238A #8A2344
square
#778A23 #238A6A #36238A #8A2344
split-complementary
#778A23 #23448A #6A238A
monochromatic
#23280A #4D5917 #778A23 #A1BB2F #BCD454

Accessibility & contrast

On white

3.86
#778A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#778A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A23
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A23#FFFFFF#000000##000000
##778A231.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#7E8276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a23;
/* rgb */ color: rgb(119, 138, 35);
/* oklch */ color: oklch(59.8% 0.127 119.6);
Tailwind
colors: {
  custom: {
    50: '#a1ac66',
    500: '#778a23',
    950: '#000000',
  },
}
SCSS
$custom: #778a23;
$custom-light: #a1ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#778a23",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 71.068,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.12674,
    "h": 119.6
  },
  "luminance": 0.2222
}

Semantic roles & 50–950 ramp

primary
#778A23
secondary
#6451B7
accent
#45E362
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778A23

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

Preview Lab → · Contrast checker → · Palette generator →

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