#778D31#778D31

#778D31 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.7% C 0.120 H 121.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#778D31
RGBrgb(119, 141, 49)
HSLhsl(74, 48%, 37%)
HSVhsv(74, 65%, 55%)
CMYKcmyk(15.6%, 0%, 65.2%, 44.7%)
CIE-LABlab(55.27, -21.74, 44.92)
CIE-LCHlch(55.27, 49.90, 115.83°)
OKLaboklab(60.7% -0.063 0.1026)
OKLCHoklch(60.7% 0.12 121.6)
XYZxyz(17.6872, 23.1934, 6.4501)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D31 #47318D
analogous
#8D7531 #778D31 #498D31
triadic
#778D31 #31778D #8D3177
tetradic
#778D31 #318D75 #47318D #8D3149
square
#778D31 #318D75 #47318D #8D3149
split-complementary
#778D31 #31498D #75318D
monochromatic
#2A3211 #516021 #778D31 #9DBA41 #B5CC6C

Accessibility & contrast

On white

3.72
#778D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#778D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D31
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D31#FFFFFF#000000##000000
##778D311.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958525
Deuteranopia (green-blind)
#938438
Tritanopia (blue-blind)
#7D867A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d31;
/* rgb */ color: rgb(119, 141, 49);
/* oklch */ color: oklch(60.7% 0.120 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1ae6e',
    500: '#778d31',
    950: '#000000',
  },
}
SCSS
$custom: #778d31;
$custom-light: #a1ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#778d31",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 74.348,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.12035,
    "h": 121.6
  },
  "luminance": 0.23193
}

Semantic roles & 50–950 ramp

primary
#778D31
secondary
#7966B4
accent
#50D870
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778D31

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

Preview Lab → · Contrast checker → · Palette generator →

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