#78721D#78721D

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

Color values

HEX#78721D
RGBrgb(120, 114, 29)
HSLhsl(56, 61%, 29%)
HSVhsv(56, 76%, 47%)
CMYKcmyk(0%, 5%, 75.8%, 52.9%)
CIE-LABlab(47.13, -8.13, 45.03)
CIE-LCHlch(47.13, 45.76, 100.24°)
OKLaboklab(54.14% -0.0271 0.0994)
OKLCHoklch(54.14% 0.103 105.3)
XYZxyz(13.9854, 16.1169, 3.5364)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78721D #1D2378
analogous
#78451D #78721D #51781D
triadic
#78721D #1D7872 #721D78
tetradic
#78721D #1D7845 #1D2378 #781D51
square
#78721D #1D7845 #1D2378 #781D51
split-complementary
#78721D #1D5178 #451D78
monochromatic
#191706 #474311 #78721D #A9A129 #D1C73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78721D#FFFFFF#000000##FFFFFF
##78721D1.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)
#7C6E0D
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#816A62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #78721d;
/* rgb */ color: rgb(120, 114, 29);
/* oklch */ color: oklch(54.1% 0.103 105.3);
Tailwind
colors: {
  custom: {
    50: '#a29a60',
    500: '#78721d',
    950: '#000000',
  },
}
SCSS
$custom: #78721d;
$custom-light: #a29a60;
$custom-dark: #000000;
JSON
{
  "hex": "#78721d",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 56.044,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.10301,
    "h": 105.3
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#78721D
secondary
#454CAC
accent
#4EE444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78721D

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

Preview Lab → · Contrast checker → · Palette generator →

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