#78781B#78781B

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

Color values

HEX#78781B
RGBrgb(120, 120, 27)
HSLhsl(60, 63%, 29%)
HSVhsv(60, 78%, 47%)
CMYKcmyk(0%, 0%, 77.5%, 52.9%)
CIE-LABlab(48.89, -11.55, 47.43)
CIE-LCHlch(48.89, 48.82, 103.69°)
OKLaboklab(55.54% -0.0369 0.1041)
OKLCHoklch(55.54% 0.11 109.5)
XYZxyz(14.6606, 17.5056, 3.6433)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78781B #1B1B78
analogous
#784A1B #78781B #4A781B
triadic
#78781B #1B7878 #781B78
tetradic
#78781B #1B784A #1B1B78 #781B4A
square
#78781B #1B784A #1B1B78 #781B4A
split-complementary
#78781B #1B4A78 #4A1B78
monochromatic
#191906 #464610 #78781B #AAAA26 #D3D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78781B#FFFFFF#000000##FFFFFF
##78781B1.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)
#827306
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#817066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #78781b;
/* rgb */ color: rgb(120, 120, 27);
/* oklch */ color: oklch(55.5% 0.110 109.5);
Tailwind
colors: {
  custom: {
    50: '#a29e60',
    500: '#78781b',
    950: '#000000',
  },
}
SCSS
$custom: #78781b;
$custom-light: #a29e60;
$custom-dark: #000000;
JSON
{
  "hex": "#78781b",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.11042,
    "h": 109.5
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#78781B
secondary
#4343AC
accent
#41E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78781B

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

Preview Lab → · Contrast checker → · Palette generator →

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