#778216#778216

#778216 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.124 H 115.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#778216
RGBrgb(119, 130, 22)
HSLhsl(66, 71%, 30%)
HSVhsv(66, 83%, 51%)
CMYKcmyk(8.5%, 0%, 83.1%, 49%)
CIE-LABlab(51.78, -17.59, 51.61)
CIE-LCHlch(51.78, 54.53, 108.82°)
OKLaboklab(57.83% -0.054 0.1121)
OKLCHoklch(57.83% 0.124 115.7)
XYZxyz(15.7357, 19.9454, 3.7798)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778216 #211682
analogous
#825716 #778216 #418216
triadic
#778216 #167782 #821677
tetradic
#778216 #168257 #211682 #821641
square
#778216 #168257 #211682 #821641
split-complementary
#778216 #164182 #571682
monochromatic
#181A04 #474E0D #778216 #A7B61F #CCDD35

Accessibility & contrast

On white

4.21
#778216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#778216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778216
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778216#FFFFFF#000000##000000
##7782161.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C21
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778216;
/* rgb */ color: rgb(119, 130, 22);
/* oklch */ color: oklch(57.8% 0.124 115.7);
Tailwind
colors: {
  custom: {
    50: '#a2a65f',
    500: '#778216',
    950: '#000000',
  },
}
SCSS
$custom: #778216;
$custom-light: #a2a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#778216",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 66.111,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.12439,
    "h": 115.7
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#778216
secondary
#4A3DB7
accent
#3AEE4C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778216

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

Preview Lab → · Contrast checker → · Palette generator →

#778216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva