#78712D#78712D

#78712D is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.089 H 103.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#78712D
RGBrgb(120, 113, 45)
HSLhsl(54, 45%, 32%)
HSVhsv(54, 63%, 47%)
CMYKcmyk(0%, 5.8%, 62.5%, 52.9%)
CIE-LABlab(46.97, -6.56, 37.79)
CIE-LCHlch(46.97, 38.35, 99.85°)
OKLaboklab(54.06% -0.0208 0.0869)
OKLCHoklch(54.06% 0.089 103.4)
XYZxyz(14.1250, 15.9933, 4.8251)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78712D #2D3478
analogous
#784C2D #78712D #5A782D
triadic
#78712D #2D7871 #712D78
tetradic
#78712D #2D784C #2D3478 #782D5A
square
#78712D #2D784C #2D3478 #782D5A
split-complementary
#78712D #2D5A78 #4C2D78
monochromatic
#1F1D0C #4B471C #78712D #A59B3E #C2B95D

Accessibility & contrast

On white

5.00
#78712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#78712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78712D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78712D#FFFFFF#000000##FFFFFF
##78712D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D25
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#816A62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #78712d;
/* rgb */ color: rgb(120, 113, 45);
/* oklch */ color: oklch(54.1% 0.089 103.4);
Tailwind
colors: {
  custom: {
    50: '#a19969',
    500: '#78712d',
    950: '#000000',
  },
}
SCSS
$custom: #78712d;
$custom-light: #a19969;
$custom-dark: #000000;
JSON
{
  "hex": "#78712d",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 54.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.08931,
    "h": 103.4
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#78712D
secondary
#5860A9
accent
#5FD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #78712D

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

Preview Lab → · Contrast checker → · Palette generator →

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