#78771A#78771A

#78771A is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.3% C 0.110 H 108.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#78771A
RGBrgb(120, 119, 26)
HSLhsl(59, 64%, 29%)
HSVhsv(59, 78%, 47%)
CMYKcmyk(0%, 0.8%, 78.3%, 52.9%)
CIE-LABlab(48.59, -11.05, 47.50)
CIE-LCHlch(48.59, 48.77, 103.10°)
OKLaboklab(55.3% -0.0356 0.104)
OKLCHoklch(55.3% 0.11 108.9)
XYZxyz(14.5296, 17.2618, 3.5436)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78771A #1A1B78
analogous
#78481A #78771A #4A781A
triadic
#78771A #1A7877 #771A78
tetradic
#78771A #1A7848 #1A1B78 #781A4A
square
#78771A #1A7848 #1A1B78 #781A4A
split-complementary
#78771A #1A4A78 #481A78
monochromatic
#191905 #46450F #78771A #AAA925 #D4D238

Accessibility & contrast

On white

4.72
#78771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#78771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78771A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78771A#FFFFFF#000000##FFFFFF
##78771A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817204
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#816F66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #78771a;
/* rgb */ color: rgb(120, 119, 26);
/* oklch */ color: oklch(55.3% 0.110 108.9);
Tailwind
colors: {
  custom: {
    50: '#a29e5f',
    500: '#78771a',
    950: '#000000',
  },
}
SCSS
$custom: #78771a;
$custom-light: #a29e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78771a",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 59.362,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.553,
    "c": 0.10994,
    "h": 108.9
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#78771A
secondary
#4142AC
accent
#42E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78771A

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

Preview Lab → · Contrast checker → · Palette generator →

#78771A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva