#78712C#78712C

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

Color values

HEX#78712C
RGBrgb(120, 113, 44)
HSLhsl(54, 46%, 32%)
HSVhsv(54, 63%, 47%)
CMYKcmyk(0%, 5.8%, 63.3%, 52.9%)
CIE-LABlab(46.96, -6.64, 38.26)
CIE-LCHlch(46.96, 38.83, 99.84°)
OKLaboklab(54.04% -0.0211 0.0877)
OKLCHoklch(54.04% 0.09 103.5)
XYZxyz(14.1060, 15.9857, 4.7249)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78712C #2C3378
analogous
#784B2C #78712C #59782C
triadic
#78712C #2C7871 #712C78
tetradic
#78712C #2C784B #2C3378 #782C59
square
#78712C #2C784B #2C3378 #782C59
split-complementary
#78712C #2C5978 #4B2C78
monochromatic
#1E1D0B #4B471C #78712C #A59B3C #C3B95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78712C#FFFFFF#000000##FFFFFF
##78712C1.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)
#7B6D24
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#816A62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #78712c;
/* rgb */ color: rgb(120, 113, 44);
/* oklch */ color: oklch(54.0% 0.090 103.5);
Tailwind
colors: {
  custom: {
    50: '#a19968',
    500: '#78712c',
    950: '#000000',
  },
}
SCSS
$custom: #78712c;
$custom-light: #a19968;
$custom-dark: #000000;
JSON
{
  "hex": "#78712c",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 54.474,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.09022,
    "h": 103.5
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#78712C
secondary
#575EA9
accent
#5ED652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #78712C

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

Preview Lab → · Contrast checker → · Palette generator →

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