#78721F#78721F

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

Color values

HEX#78721F
RGBrgb(120, 114, 31)
HSLhsl(56, 59%, 30%)
HSVhsv(56, 74%, 47%)
CMYKcmyk(0%, 5%, 74.2%, 52.9%)
CIE-LABlab(47.14, -8.03, 44.25)
CIE-LCHlch(47.14, 44.98, 100.29°)
OKLaboklab(54.16% -0.0266 0.0981)
OKLCHoklch(54.16% 0.102 105.2)
XYZxyz(14.0109, 16.1272, 3.6709)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78721F #1F2578
analogous
#78461F #78721F #52781F
triadic
#78721F #1F7872 #721F78
tetradic
#78721F #1F7846 #1F2578 #781F52
square
#78721F #1F7846 #1F2578 #781F52
split-complementary
#78721F #1F5278 #461F78
monochromatic
#181706 #474412 #78721F #A9A02C #CEC543

Accessibility & contrast

On white

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

On black

4.23
#78721F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78721F#FFFFFF#000000##FFFFFF
##78721F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78721f;
/* rgb */ color: rgb(120, 114, 31);
/* oklch */ color: oklch(54.2% 0.102 105.2);
Tailwind
colors: {
  custom: {
    50: '#a29a61',
    500: '#78721f',
    950: '#000000',
  },
}
SCSS
$custom: #78721f;
$custom-light: #a29a61;
$custom-dark: #000000;
JSON
{
  "hex": "#78721f",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 55.955,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.10167,
    "h": 105.2
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

primary
#78721F
secondary
#474EAB
accent
#50E246
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78721F

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

Preview Lab → · Contrast checker → · Palette generator →

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