#778221#778221

#778221 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.118 H 115.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#778221
RGBrgb(119, 130, 33)
HSLhsl(67, 60%, 32%)
HSVhsv(67, 75%, 51%)
CMYKcmyk(8.5%, 0%, 74.6%, 49%)
CIE-LABlab(51.83, -17.09, 48.00)
CIE-LCHlch(51.83, 50.95, 109.60°)
OKLaboklab(57.89% -0.0516 0.1065)
OKLCHoklch(57.89% 0.118 115.9)
XYZxyz(15.8653, 19.9972, 4.4626)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778221 #2C2182
analogous
#825D21 #778221 #478221
triadic
#778221 #217782 #822177
tetradic
#778221 #21825D #2C2182 #822147
square
#778221 #21825D #2C2182 #822147
split-complementary
#778221 #214782 #5D2182
monochromatic
#1E2008 #4A5115 #778221 #A4B32D #C2D24C

Accessibility & contrast

On white

4.20
#778221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#778221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778221
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778221#FFFFFF#000000##000000
##7782211.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0E
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778221;
/* rgb */ color: rgb(119, 130, 33);
/* oklch */ color: oklch(57.9% 0.118 115.9);
Tailwind
colors: {
  custom: {
    50: '#a1a664',
    500: '#778221',
    950: '#000000',
  },
}
SCSS
$custom: #778221;
$custom-light: #a1a664;
$custom-dark: #000000;
JSON
{
  "hex": "#778221",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 66.804,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.11832,
    "h": 115.9
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#778221
secondary
#564AB4
accent
#45E357
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778221

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

Preview Lab → · Contrast checker → · Palette generator →

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