#778E31#778E31

#778E31 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.9% C 0.122 H 122.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#778E31
RGBrgb(119, 142, 49)
HSLhsl(75, 49%, 37%)
HSVhsv(75, 65%, 56%)
CMYKcmyk(16.2%, 0%, 65.5%, 44.3%)
CIE-LABlab(55.57, -22.25, 45.24)
CIE-LCHlch(55.57, 50.42, 116.19°)
OKLaboklab(60.94% -0.0644 0.1032)
OKLCHoklch(60.94% 0.122 122)
XYZxyz(17.8353, 23.4897, 6.4995)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E31 #48318E
analogous
#8E7731 #778E31 #488E31
triadic
#778E31 #31778E #8E3177
tetradic
#778E31 #318E77 #48318E #8E3148
square
#778E31 #318E77 #48318E #8E3148
split-complementary
#778E31 #31488E #77318E
monochromatic
#2B3312 #516121 #778E31 #9DBB41 #B5CD6D

Accessibility & contrast

On white

3.69
#778E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#778E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E31
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E31#FFFFFF#000000##000000
##778E311.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968625
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#7D877B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e31;
/* rgb */ color: rgb(119, 142, 49);
/* oklch */ color: oklch(60.9% 0.122 122.0);
Tailwind
colors: {
  custom: {
    50: '#a1af6e',
    500: '#778e31',
    950: '#000000',
  },
}
SCSS
$custom: #778e31;
$custom-light: #a1af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#778e31",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 74.839,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.12167,
    "h": 122
  },
  "luminance": 0.2349
}

Semantic roles & 50–950 ramp

primary
#778E31
secondary
#7A67B4
accent
#50D871
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778E31

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

Preview Lab → · Contrast checker → · Palette generator →

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