#778320#778320

#778320 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.1% C 0.120 H 116.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#778320
RGBrgb(119, 131, 32)
HSLhsl(67, 61%, 32%)
HSVhsv(67, 76%, 51%)
CMYKcmyk(9.2%, 0%, 75.6%, 48.6%)
CIE-LABlab(52.13, -17.67, 48.65)
CIE-LCHlch(52.13, 51.76, 109.96°)
OKLaboklab(58.13% -0.0533 0.1076)
OKLCHoklch(58.13% 0.12 116.4)
XYZxyz(15.9852, 20.2590, 4.4345)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778320 #2C2083
analogous
#835E20 #778320 #468320
triadic
#778320 #207783 #832077
tetradic
#778320 #20835E #2C2083 #832046
square
#778320 #20835E #2C2083 #832046
split-complementary
#778320 #204683 #5E2083
monochromatic
#1E2108 #4A5214 #778320 #A4B42C #C2D34A

Accessibility & contrast

On white

4.16
#778320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#778320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778320
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778320#FFFFFF#000000##000000
##7783201.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0C
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778320;
/* rgb */ color: rgb(119, 131, 32);
/* oklch */ color: oklch(58.1% 0.120 116.4);
Tailwind
colors: {
  custom: {
    50: '#a1a763',
    500: '#778320',
    950: '#000000',
  },
}
SCSS
$custom: #778320;
$custom-light: #a1a763;
$custom-dark: #000000;
JSON
{
  "hex": "#778320",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 67.273,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.12013,
    "h": 116.4
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#778320
secondary
#5649B6
accent
#44E457
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778320

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

Preview Lab → · Contrast checker → · Palette generator →

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