#78721E#78721E

#78721E is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.1% C 0.102 H 105.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#78721E
RGBrgb(120, 114, 30)
HSLhsl(56, 60%, 29%)
HSVhsv(56, 75%, 47%)
CMYKcmyk(0%, 5%, 75%, 52.9%)
CIE-LABlab(47.13, -8.08, 44.65)
CIE-LCHlch(47.13, 45.37, 100.26°)
OKLaboklab(54.15% -0.0269 0.0988)
OKLCHoklch(54.15% 0.102 105.2)
XYZxyz(13.9980, 16.1220, 3.6026)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78721E #1E2478
analogous
#78451E #78721E #51781E
triadic
#78721E #1E7872 #721E78
tetradic
#78721E #1E7845 #1E2478 #781E51
square
#78721E #1E7845 #1E2478 #781E51
split-complementary
#78721E #1E5178 #451E78
monochromatic
#181706 #474312 #78721E #A9A12A #CFC641

Accessibility & contrast

On white

4.97
#78721E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#78721E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78721E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78721E#FFFFFF#000000##FFFFFF
##78721E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E0F
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#816A62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #78721e;
/* rgb */ color: rgb(120, 114, 30);
/* oklch */ color: oklch(54.1% 0.102 105.2);
Tailwind
colors: {
  custom: {
    50: '#a29a60',
    500: '#78721e',
    950: '#000000',
  },
}
SCSS
$custom: #78721e;
$custom-light: #a29a60;
$custom-dark: #000000;
JSON
{
  "hex": "#78721e",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 30
  },
  "hsl": {
    "h": 56,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.10235,
    "h": 105.2
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#78721E
secondary
#464DAC
accent
#4FE345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78721E

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

Preview Lab → · Contrast checker → · Palette generator →

#78721E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva