#778420#778420

#778420 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.4% C 0.121 H 116.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#778420
RGBrgb(119, 132, 32)
HSLhsl(68, 61%, 32%)
HSVhsv(68, 76%, 52%)
CMYKcmyk(9.8%, 0%, 75.8%, 48.2%)
CIE-LABlab(52.43, -18.19, 48.94)
CIE-LCHlch(52.43, 52.21, 110.39°)
OKLaboklab(58.37% -0.0548 0.1083)
OKLCHoklch(58.37% 0.121 116.8)
XYZxyz(16.1201, 20.5290, 4.4795)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778420 #2D2084
analogous
#845F20 #778420 #458420
triadic
#778420 #207784 #842077
tetradic
#778420 #20845F #2D2084 #842045
square
#778420 #20845F #2D2084 #842045
split-complementary
#778420 #204584 #5F2084
monochromatic
#1E2108 #4B5314 #778420 #A3B52C #C2D34B

Accessibility & contrast

On white

4.11
#778420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#778420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778420
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778420#FFFFFF#000000##000000
##7784201.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0B
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#7F7C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #778420;
/* rgb */ color: rgb(119, 132, 32);
/* oklch */ color: oklch(58.4% 0.121 116.8);
Tailwind
colors: {
  custom: {
    50: '#a1a764',
    500: '#778420',
    950: '#000000',
  },
}
SCSS
$custom: #778420;
$custom-light: #a1a764;
$custom-dark: #000000;
JSON
{
  "hex": "#778420",
  "rgb": {
    "r": 119,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 67.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.12133,
    "h": 116.8
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#778420
secondary
#584AB6
accent
#44E459
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778420

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

Preview Lab → · Contrast checker → · Palette generator →

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