#78881A#78881A

#78881A is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.4% C 0.129 H 118.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#78881A
RGBrgb(120, 136, 26)
HSLhsl(69, 68%, 32%)
HSVhsv(69, 81%, 53%)
CMYKcmyk(11.8%, 0%, 80.9%, 46.7%)
CIE-LABlab(53.68, -20.10, 52.14)
CIE-LCHlch(53.68, 55.88, 111.08°)
OKLaboklab(59.38% -0.0606 0.1139)
OKLCHoklch(59.38% 0.129 118)
XYZxyz(16.7367, 21.6761, 4.2793)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78881A #2A1A88
analogous
#88611A #78881A #41881A
triadic
#78881A #1A7888 #881A78
tetradic
#78881A #1A8861 #2A1A88 #881A41
square
#78881A #1A8861 #2A1A88 #881A41
split-complementary
#78881A #1A4188 #611A88
monochromatic
#1D2106 #4B5510 #78881A #A5BB24 #C5DB42

Accessibility & contrast

On white

3.94
#78881A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#78881A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78881A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78881A#FFFFFF#000000##000000
##78881A1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#808074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #78881a;
/* rgb */ color: rgb(120, 136, 26);
/* oklch */ color: oklch(59.4% 0.129 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2aa61',
    500: '#78881a',
    950: '#000000',
  },
}
SCSS
$custom: #78881a;
$custom-light: #a2aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#78881a",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 26
  },
  "hsl": {
    "h": 68.727,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59384,
    "c": 0.12903,
    "h": 118
  },
  "luminance": 0.21676
}

Semantic roles & 50–950 ramp

primary
#78881A
secondary
#5443BB
accent
#3DEB56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #78881A

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

Preview Lab → · Contrast checker → · Palette generator →

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