#78771E#78771E

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

Color values

HEX#78771E
RGBrgb(120, 119, 30)
HSLhsl(59, 60%, 29%)
HSVhsv(59, 75%, 47%)
CMYKcmyk(0%, 0.8%, 75%, 52.9%)
CIE-LABlab(48.61, -10.86, 46.07)
CIE-LCHlch(48.61, 47.33, 103.27°)
OKLaboklab(55.33% -0.0346 0.1018)
OKLCHoklch(55.33% 0.108 108.8)
XYZxyz(14.5774, 17.2809, 3.7957)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78771E #1E1F78
analogous
#784A1E #78771E #4C781E
triadic
#78771E #1E7877 #771E78
tetradic
#78771E #1E784A #1E1F78 #781E4C
square
#78771E #1E784A #1E1F78 #781E4C
split-complementary
#78771E #1E4C78 #4A1E78
monochromatic
#181806 #474612 #78771E #A9A82A #CFCE41

Accessibility & contrast

On white

4.71
#78771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#78771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78771E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78771E#FFFFFF#000000##FFFFFF
##78771E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720D
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#816F66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #78771e;
/* rgb */ color: rgb(120, 119, 30);
/* oklch */ color: oklch(55.3% 0.108 108.8);
Tailwind
colors: {
  custom: {
    50: '#a29e61',
    500: '#78771e',
    950: '#000000',
  },
}
SCSS
$custom: #78771e;
$custom-light: #a29e61;
$custom-dark: #000000;
JSON
{
  "hex": "#78771e",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 59.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.10751,
    "h": 108.8
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#78771E
secondary
#4647AC
accent
#46E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78771E

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

Preview Lab → · Contrast checker → · Palette generator →

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