#778620#778620

#778620 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.124 H 117.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#778620
RGBrgb(119, 134, 32)
HSLhsl(69, 61%, 33%)
HSVhsv(69, 76%, 53%)
CMYKcmyk(11.2%, 0%, 76.1%, 47.5%)
CIE-LABlab(53.03, -19.23, 49.51)
CIE-LCHlch(53.03, 53.12, 111.23°)
OKLaboklab(58.85% -0.0577 0.1095)
OKLCHoklch(58.85% 0.124 117.8)
XYZxyz(16.3939, 21.0766, 4.5708)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778620 #2F2086
analogous
#866220 #778620 #448620
triadic
#778620 #207786 #862077
tetradic
#778620 #208662 #2F2086 #862044
square
#778620 #208662 #2F2086 #862044
split-complementary
#778620 #204486 #622086
monochromatic
#1F2308 #4B5514 #778620 #A3B72C #C0D44C

Accessibility & contrast

On white

4.03
#778620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#778620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778620
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778620#FFFFFF#000000##000000
##7786201.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0A
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#7F7E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #778620;
/* rgb */ color: rgb(119, 134, 32);
/* oklch */ color: oklch(58.9% 0.124 117.8);
Tailwind
colors: {
  custom: {
    50: '#a1a964',
    500: '#778620',
    950: '#000000',
  },
}
SCSS
$custom: #778620;
$custom-light: #a1a964;
$custom-dark: #000000;
JSON
{
  "hex": "#778620",
  "rgb": {
    "r": 119,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 68.824,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.12372,
    "h": 117.8
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#778620
secondary
#5B4BB7
accent
#43E55B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778620

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

Preview Lab → · Contrast checker → · Palette generator →

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