#778A15#778A15

#778A15 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.8% C 0.134 H 119.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#778A15
RGBrgb(119, 138, 21)
HSLhsl(70, 74%, 31%)
HSVhsv(70, 85%, 54%)
CMYKcmyk(13.8%, 0%, 84.8%, 45.9%)
CIE-LABlab(54.19, -21.76, 53.99)
CIE-LCHlch(54.19, 58.21, 111.95°)
OKLaboklab(59.77% -0.0655 0.117)
OKLCHoklch(59.77% 0.134 119.2)
XYZxyz(16.8320, 22.1532, 4.0986)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A15 #28158A
analogous
#8A6215 #778A15 #3C8A15
triadic
#778A15 #15778A #8A1577
tetradic
#778A15 #158A62 #28158A #8A153C
square
#778A15 #158A62 #28158A #8A153C
split-complementary
#778A15 #153C8A #62158A
monochromatic
#1B2005 #49550D #778A15 #A5BF1D #C5E139

Accessibility & contrast

On white

3.87
#778A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#778A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A15
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A15#FFFFFF#000000##000000
##778A151.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#7F8275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a15;
/* rgb */ color: rgb(119, 138, 21);
/* oklch */ color: oklch(59.8% 0.134 119.2);
Tailwind
colors: {
  custom: {
    50: '#a2ac60',
    500: '#778a15',
    950: '#000000',
  },
}
SCSS
$custom: #778a15;
$custom-light: #a2ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#778a15",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 69.744,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.13407,
    "h": 119.2
  },
  "luminance": 0.22153
}

Semantic roles & 50–950 ramp

primary
#778A15
secondary
#523DBE
accent
#38F056
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #778A15

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

Preview Lab → · Contrast checker → · Palette generator →

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