#778E15#778E15

#778E15 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.7% C 0.139 H 120.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#778E15
RGBrgb(119, 142, 21)
HSLhsl(71, 74%, 32%)
HSVhsv(71, 85%, 56%)
CMYKcmyk(16.2%, 0%, 85.2%, 44.3%)
CIE-LABlab(55.40, -23.77, 55.03)
CIE-LCHlch(55.40, 59.95, 113.36°)
OKLaboklab(60.75% -0.071 0.1192)
OKLCHoklch(60.75% 0.139 120.8)
XYZxyz(17.4165, 23.3221, 4.2934)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E15 #2C158E
analogous
#8E6915 #778E15 #3B8E15
triadic
#778E15 #15778E #8E1577
tetradic
#778E15 #158E69 #2C158E #8E153B
square
#778E15 #158E69 #2C158E #8E153B
split-complementary
#778E15 #153B8E #69158E
monochromatic
#1E2305 #4A590D #778E15 #A4C31D #C2E23B

Accessibility & contrast

On white

3.71
#778E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#778E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E15
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E15#FFFFFF#000000##000000
##778E151.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e15;
/* rgb */ color: rgb(119, 142, 21);
/* oklch */ color: oklch(60.7% 0.139 120.8);
Tailwind
colors: {
  custom: {
    50: '#a2af60',
    500: '#778e15',
    950: '#000000',
  },
}
SCSS
$custom: #778e15;
$custom-light: #a2af60;
$custom-dark: #000000;
JSON
{
  "hex": "#778e15",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 71.405,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.13877,
    "h": 120.8
  },
  "luminance": 0.23322
}

Semantic roles & 50–950 ramp

primary
#778E15
secondary
#563DC2
accent
#37F15A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778E15

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

Preview Lab → · Contrast checker → · Palette generator →

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