#78712E#78712E

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

Color values

HEX#78712E
RGBrgb(120, 113, 46)
HSLhsl(54, 45%, 33%)
HSVhsv(54, 62%, 47%)
CMYKcmyk(0%, 5.8%, 61.7%, 52.9%)
CIE-LABlab(46.98, -6.48, 37.31)
CIE-LCHlch(46.98, 37.87, 99.86°)
OKLaboklab(54.07% -0.0204 0.086)
OKLCHoklch(54.07% 0.088 103.4)
XYZxyz(14.1445, 16.0011, 4.9277)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78712E #2E3578
analogous
#784C2E #78712E #5A782E
triadic
#78712E #2E7871 #712E78
tetradic
#78712E #2E784C #2E3578 #782E5A
square
#78712E #2E784C #2E3578 #782E5A
split-complementary
#78712E #2E5A78 #4C2E78
monochromatic
#201E0C #4C471D #78712E #A49B3F #C2B85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78712E#FFFFFF#000000##FFFFFF
##78712E1.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)
#7B6D27
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#816A62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #78712e;
/* rgb */ color: rgb(120, 113, 46);
/* oklch */ color: oklch(54.1% 0.088 103.4);
Tailwind
colors: {
  custom: {
    50: '#a1996a',
    500: '#78712e',
    950: '#000000',
  },
}
SCSS
$custom: #78712e;
$custom-light: #a1996a;
$custom-dark: #000000;
JSON
{
  "hex": "#78712e",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 54.324,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.08836,
    "h": 103.4
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#78712E
secondary
#5A61A8
accent
#60D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #78712E

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

Preview Lab → · Contrast checker → · Palette generator →

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