#778A13#778A13

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

Color values

HEX#778A13
RGBrgb(119, 138, 19)
HSLhsl(70, 76%, 31%)
HSVhsv(70, 86%, 54%)
CMYKcmyk(13.8%, 0%, 86.2%, 45.9%)
CIE-LABlab(54.18, -21.82, 54.49)
CIE-LCHlch(54.18, 58.70, 111.83°)
OKLaboklab(59.76% -0.0658 0.1177)
OKLCHoklch(59.76% 0.135 119.2)
XYZxyz(16.8142, 22.1460, 4.0048)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A13 #26138A
analogous
#8A6113 #778A13 #3B8A13
triadic
#778A13 #13778A #8A1377
tetradic
#778A13 #138A61 #26138A #8A133B
square
#778A13 #138A61 #26138A #8A133B
split-complementary
#778A13 #133B8A #61138A
monochromatic
#1A1E04 #49540C #778A13 #A5C01A #C7E334

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778A13#FFFFFF#000000##000000
##778A131.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)
#918221
Tritanopia (blue-blind)
#7F8275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a13;
/* rgb */ color: rgb(119, 138, 19);
/* oklch */ color: oklch(59.8% 0.135 119.2);
Tailwind
colors: {
  custom: {
    50: '#a2ac5f',
    500: '#778a13',
    950: '#000000',
  },
}
SCSS
$custom: #778a13;
$custom-light: #a2ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#778a13",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 69.58,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59759,
    "c": 0.13487,
    "h": 119.2
  },
  "luminance": 0.22146
}

Semantic roles & 50–950 ramp

primary
#778A13
secondary
#4F3ABE
accent
#35F254
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #778A13

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

Preview Lab → · Contrast checker → · Palette generator →

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