#78741A#78741A

#78741A is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.6% C 0.107 H 106.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#78741A
RGBrgb(120, 116, 26)
HSLhsl(57, 64%, 29%)
HSVhsv(57, 78%, 47%)
CMYKcmyk(0%, 3.3%, 78.3%, 52.9%)
CIE-LABlab(47.70, -9.39, 46.68)
CIE-LCHlch(47.70, 47.62, 101.38°)
OKLaboklab(54.59% -0.0309 0.1023)
OKLCHoklch(54.59% 0.107 106.8)
XYZxyz(14.1782, 16.5589, 3.4264)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78741A #1A1E78
analogous
#78451A #78741A #4D781A
triadic
#78741A #1A7874 #741A78
tetradic
#78741A #1A7845 #1A1E78 #781A4D
square
#78741A #1A7845 #1A1E78 #781A4D
split-complementary
#78741A #1A4D78 #451A78
monochromatic
#191805 #46430F #78741A #AAA525 #D4CD38

Accessibility & contrast

On white

4.87
#78741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#78741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78741A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78741A#FFFFFF#000000##FFFFFF
##78741A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F06
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#816C63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #78741a;
/* rgb */ color: rgb(120, 116, 26);
/* oklch */ color: oklch(54.6% 0.107 106.8);
Tailwind
colors: {
  custom: {
    50: '#a29b5f',
    500: '#78741a',
    950: '#000000',
  },
}
SCSS
$custom: #78741a;
$custom-light: #a29b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78741a",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 57.447,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54591,
    "c": 0.10686,
    "h": 106.8
  },
  "luminance": 0.16558
}

Semantic roles & 50–950 ramp

primary
#78741A
secondary
#4146AC
accent
#48E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78741A

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

Preview Lab → · Contrast checker → · Palette generator →

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