#78651A#78651A

#78651A is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.1% C 0.094 H 94.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#78651A
RGBrgb(120, 101, 26)
HSLhsl(48, 64%, 29%)
HSVhsv(48, 78%, 47%)
CMYKcmyk(0%, 15.8%, 78.3%, 52.9%)
CIE-LABlab(43.32, -0.85, 42.58)
CIE-LCHlch(43.32, 42.59, 91.15°)
OKLaboklab(51.12% -0.0068 0.0936)
OKLCHoklch(51.12% 0.094 94.2)
XYZxyz(12.5865, 13.3757, 2.8959)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78651A #1A2D78
analogous
#78361A #78651A #5C781A
triadic
#78651A #1A7865 #651A78
tetradic
#78651A #1A7836 #1A2D78 #781A5C
square
#78651A #1A7836 #1A2D78 #781A5C
split-complementary
#78651A #1A5C78 #361A78
monochromatic
#191505 #463B0F #78651A #AA8F25 #D4B538

Accessibility & contrast

On white

5.71
#78651A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#78651A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78651A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78651A#FFFFFF#000000##FFFFFF
##78651A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#825C56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #78651a;
/* rgb */ color: rgb(120, 101, 26);
/* oklch */ color: oklch(51.1% 0.094 94.2);
Tailwind
colors: {
  custom: {
    50: '#a2905d',
    500: '#78651a',
    950: '#000000',
  },
}
SCSS
$custom: #78651a;
$custom-light: #a2905d;
$custom-dark: #000000;
JSON
{
  "hex": "#78651a",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 26
  },
  "hsl": {
    "h": 47.872,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.09381,
    "h": 94.2
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#78651A
secondary
#4157AC
accent
#62E740
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #78651A

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

Preview Lab → · Contrast checker → · Palette generator →

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