#778720#778720

#778720 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.1% C 0.125 H 118.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#778720
RGBrgb(119, 135, 32)
HSLhsl(69, 62%, 33%)
HSVhsv(69, 76%, 53%)
CMYKcmyk(11.9%, 0%, 76.3%, 47.1%)
CIE-LABlab(53.34, -19.75, 49.80)
CIE-LCHlch(53.34, 53.57, 111.63°)
OKLaboklab(59.1% -0.0591 0.1101)
OKLCHoklch(59.1% 0.125 118.2)
XYZxyz(16.5328, 21.3543, 4.6171)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778720 #302087
analogous
#876320 #778720 #448720
triadic
#778720 #207787 #872077
tetradic
#778720 #208763 #302087 #872044
square
#778720 #208763 #302087 #872044
split-complementary
#778720 #204487 #632087
monochromatic
#202409 #4B5614 #778720 #A3B82C #C0D54D

Accessibility & contrast

On white

3.98
#778720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#778720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778720
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778720#FFFFFF#000000##000000
##7787201.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F09
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#7F7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #778720;
/* rgb */ color: rgb(119, 135, 32);
/* oklch */ color: oklch(59.1% 0.125 118.2);
Tailwind
colors: {
  custom: {
    50: '#a1a964',
    500: '#778720',
    950: '#000000',
  },
}
SCSS
$custom: #778720;
$custom-light: #a1a964;
$custom-dark: #000000;
JSON
{
  "hex": "#778720",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 69.32,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.12492,
    "h": 118.2
  },
  "luminance": 0.21354
}

Semantic roles & 50–950 ramp

primary
#778720
secondary
#5C4BB8
accent
#43E55C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778720

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

Preview Lab → · Contrast checker → · Palette generator →

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