#778520#778520

#778520 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.123 H 117.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#778520
RGBrgb(119, 133, 32)
HSLhsl(68, 61%, 32%)
HSVhsv(68, 76%, 52%)
CMYKcmyk(10.5%, 0%, 75.9%, 47.8%)
CIE-LABlab(52.73, -18.71, 49.23)
CIE-LCHlch(52.73, 52.66, 110.81°)
OKLaboklab(58.61% -0.0562 0.1089)
OKLCHoklch(58.61% 0.123 117.3)
XYZxyz(16.2564, 20.8015, 4.5249)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778520 #2E2085
analogous
#856120 #778520 #448520
triadic
#778520 #207785 #852077
tetradic
#778520 #208561 #2E2085 #852044
square
#778520 #208561 #2E2085 #852044
split-complementary
#778520 #204485 #612085
monochromatic
#1F2208 #4B5414 #778520 #A3B62C #C1D44C

Accessibility & contrast

On white

4.07
#778520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#778520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778520
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778520#FFFFFF#000000##000000
##7785201.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0B
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#7F7D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778520;
/* rgb */ color: rgb(119, 133, 32);
/* oklch */ color: oklch(58.6% 0.123 117.3);
Tailwind
colors: {
  custom: {
    50: '#a1a864',
    500: '#778520',
    950: '#000000',
  },
}
SCSS
$custom: #778520;
$custom-light: #a1a864;
$custom-dark: #000000;
JSON
{
  "hex": "#778520",
  "rgb": {
    "r": 119,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 68.317,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.12252,
    "h": 117.3
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#778520
secondary
#594AB7
accent
#43E45A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778520

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

Preview Lab → · Contrast checker → · Palette generator →

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