#78751A#78751A

#78751A is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.8% C 0.108 H 107.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#78751A
RGBrgb(120, 117, 26)
HSLhsl(58, 64%, 29%)
HSVhsv(58, 78%, 47%)
CMYKcmyk(0%, 2.5%, 78.3%, 52.9%)
CIE-LABlab(48.00, -9.95, 46.96)
CIE-LCHlch(48.00, 48.00, 101.96°)
OKLaboklab(54.83% -0.0325 0.1029)
OKLCHoklch(54.83% 0.108 107.5)
XYZxyz(14.2940, 16.7907, 3.4651)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78751A #1A1D78
analogous
#78461A #78751A #4C781A
triadic
#78751A #1A7875 #751A78
tetradic
#78751A #1A7846 #1A1D78 #781A4C
square
#78751A #1A7846 #1A1D78 #781A4C
split-complementary
#78751A #1A4C78 #461A78
monochromatic
#191905 #46440F #78751A #AAA625 #D4CF38

Accessibility & contrast

On white

4.82
#78751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#78751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78751A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78751A#FFFFFF#000000##FFFFFF
##78751A1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7005
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#816D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #78751a;
/* rgb */ color: rgb(120, 117, 26);
/* oklch */ color: oklch(54.8% 0.108 107.5);
Tailwind
colors: {
  custom: {
    50: '#a29c5f',
    500: '#78751a',
    950: '#000000',
  },
}
SCSS
$custom: #78751a;
$custom-light: #a29c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78751a",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 58.085,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.10788,
    "h": 107.5
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#78751A
secondary
#4145AC
accent
#46E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78751A

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

Preview Lab → · Contrast checker → · Palette generator →

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