#778721#778721

#778721 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.1% C 0.124 H 118.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#778721
RGBrgb(119, 135, 33)
HSLhsl(69, 61%, 33%)
HSVhsv(69, 76%, 53%)
CMYKcmyk(11.9%, 0%, 75.6%, 47.1%)
CIE-LABlab(53.34, -19.70, 49.45)
CIE-LCHlch(53.34, 53.23, 111.72°)
OKLaboklab(59.1% -0.0589 0.1095)
OKLCHoklch(59.1% 0.124 118.3)
XYZxyz(16.5466, 21.3598, 4.6897)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778721 #312187
analogous
#876421 #778721 #448721
triadic
#778721 #217787 #872177
tetradic
#778721 #218764 #312187 #872144
square
#778721 #218764 #312187 #872144
split-complementary
#778721 #214487 #642187
monochromatic
#202509 #4C5615 #778721 #A2B82D #BFD44F

Accessibility & contrast

On white

3.98
#778721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#778721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778721
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778721#FFFFFF#000000##000000
##7787211.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0C
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#7E7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #778721;
/* rgb */ color: rgb(119, 135, 33);
/* oklch */ color: oklch(59.1% 0.124 118.3);
Tailwind
colors: {
  custom: {
    50: '#a1a964',
    500: '#778721',
    950: '#000000',
  },
}
SCSS
$custom: #778721;
$custom-light: #a1a964;
$custom-dark: #000000;
JSON
{
  "hex": "#778721",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 69.412,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.12432,
    "h": 118.3
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#778721
secondary
#5D4DB7
accent
#44E45D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778721

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

Preview Lab → · Contrast checker → · Palette generator →

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