#78781A#78781A

#78781A is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.5% C 0.111 H 109.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#78781A
RGBrgb(120, 120, 26)
HSLhsl(60, 64%, 29%)
HSVhsv(60, 78%, 47%)
CMYKcmyk(0%, 0%, 78.3%, 52.9%)
CIE-LABlab(48.89, -11.60, 47.78)
CIE-LCHlch(48.89, 49.17, 103.65°)
OKLaboklab(55.54% -0.0371 0.1046)
OKLCHoklch(55.54% 0.111 109.5)
XYZxyz(14.6492, 17.5010, 3.5835)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78781A #1A1A78
analogous
#78491A #78781A #49781A
triadic
#78781A #1A7878 #781A78
tetradic
#78781A #1A7849 #1A1A78 #781A49
square
#78781A #1A7849 #1A1A78 #781A49
split-complementary
#78781A #1A4978 #491A78
monochromatic
#191905 #46460F #78781A #AAAA25 #D4D438

Accessibility & contrast

On white

4.67
#78781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#78781A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #78781A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78781A#FFFFFF#000000##FFFFFF
##78781A1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#817066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #78781a;
/* rgb */ color: rgb(120, 120, 26);
/* oklch */ color: oklch(55.5% 0.111 109.5);
Tailwind
colors: {
  custom: {
    50: '#a29e5f',
    500: '#78781a',
    950: '#000000',
  },
}
SCSS
$custom: #78781a;
$custom-light: #a29e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78781a",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.11099,
    "h": 109.5
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#78781A
secondary
#4141AC
accent
#40E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78781A

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

Preview Lab → · Contrast checker → · Palette generator →

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