#778C31#778C31

#778C31 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.5% C 0.119 H 121.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#778C31
RGBrgb(119, 140, 49)
HSLhsl(74, 48%, 37%)
HSVhsv(74, 65%, 55%)
CMYKcmyk(15%, 0%, 65%, 45.1%)
CIE-LABlab(54.97, -21.23, 44.59)
CIE-LCHlch(54.97, 49.39, 115.46°)
OKLaboklab(60.45% -0.0616 0.1019)
OKLCHoklch(60.45% 0.119 121.1)
XYZxyz(17.5404, 22.8999, 6.4012)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C31 #46318C
analogous
#8C7431 #778C31 #4A8C31
triadic
#778C31 #31778C #8C3177
tetradic
#778C31 #318C74 #46318C #8C314A
square
#778C31 #318C74 #46318C #8C314A
split-complementary
#778C31 #314A8C #74318C
monochromatic
#2A3111 #505F21 #778C31 #9EB941 #B5CC6C

Accessibility & contrast

On white

3.76
#778C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#778C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C31
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C31#FFFFFF#000000##000000
##778C311.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948426
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#7D8579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778c31;
/* rgb */ color: rgb(119, 140, 49);
/* oklch */ color: oklch(60.5% 0.119 121.1);
Tailwind
colors: {
  custom: {
    50: '#a1ad6e',
    500: '#778c31',
    950: '#000000',
  },
}
SCSS
$custom: #778c31;
$custom-light: #a1ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#778c31",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 73.846,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.11903,
    "h": 121.1
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#778C31
secondary
#7866B3
accent
#50D86F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778C31

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

Preview Lab → · Contrast checker → · Palette generator →

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