#78711A#78711A

#78711A is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.104 H 104.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#78711A
RGBrgb(120, 113, 26)
HSLhsl(56, 64%, 29%)
HSVhsv(56, 78%, 47%)
CMYKcmyk(0%, 5.8%, 78.3%, 52.9%)
CIE-LABlab(46.81, -7.72, 45.86)
CIE-LCHlch(46.81, 46.51, 99.55°)
OKLaboklab(53.89% -0.0262 0.1005)
OKLCHoklch(53.89% 0.104 104.6)
XYZxyz(13.8379, 15.8785, 3.3130)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78711A #1A2178
analogous
#78421A #78711A #50781A
triadic
#78711A #1A7871 #711A78
tetradic
#78711A #1A7842 #1A2178 #781A50
square
#78711A #1A7842 #1A2178 #781A50
split-complementary
#78711A #1A5078 #421A78
monochromatic
#191805 #46420F #78711A #AAA025 #D4C838

Accessibility & contrast

On white

5.03
#78711A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#78711A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78711A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78711A#FFFFFF#000000##FFFFFF
##78711A1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D07
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#816960
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #78711a;
/* rgb */ color: rgb(120, 113, 26);
/* oklch */ color: oklch(53.9% 0.104 104.6);
Tailwind
colors: {
  custom: {
    50: '#a2995e',
    500: '#78711a',
    950: '#000000',
  },
}
SCSS
$custom: #78711a;
$custom-light: #a2995e;
$custom-dark: #000000;
JSON
{
  "hex": "#78711a",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 55.532,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.10391,
    "h": 104.6
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#78711A
secondary
#4149AC
accent
#4DE740
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #78711A

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

Preview Lab → · Contrast checker → · Palette generator →

#78711A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva