#78771C#78771C

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

Color values

HEX#78771C
RGBrgb(120, 119, 28)
HSLhsl(59, 62%, 29%)
HSVhsv(59, 77%, 47%)
CMYKcmyk(0%, 0.8%, 76.7%, 52.9%)
CIE-LABlab(48.60, -10.96, 46.80)
CIE-LCHlch(48.60, 48.07, 103.18°)
OKLaboklab(55.31% -0.0351 0.1029)
OKLCHoklch(55.31% 0.109 108.8)
XYZxyz(14.5527, 17.2710, 3.6654)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78771C #1C1D78
analogous
#78491C #78771C #4B781C
triadic
#78771C #1C7877 #771C78
tetradic
#78771C #1C7849 #1C1D78 #781C4B
square
#78771C #1C7849 #1C1D78 #781C4B
split-complementary
#78771C #1C4B78 #491C78
monochromatic
#191906 #464610 #78771C #AAA828 #D2D03D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78771C#FFFFFF#000000##FFFFFF
##78771C1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78771c;
/* rgb */ color: rgb(120, 119, 28);
/* oklch */ color: oklch(55.3% 0.109 108.8);
Tailwind
colors: {
  custom: {
    50: '#a29e60',
    500: '#78771c',
    950: '#000000',
  },
}
SCSS
$custom: #78771c;
$custom-light: #a29e60;
$custom-dark: #000000;
JSON
{
  "hex": "#78771c",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 59.348,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.10876,
    "h": 108.8
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#78771C
secondary
#4445AC
accent
#44E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78771C

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

Preview Lab → · Contrast checker → · Palette generator →

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