#78701A#78701A

#78701A is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.7% C 0.103 H 103.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#78701A
RGBrgb(120, 112, 26)
HSLhsl(55, 64%, 29%)
HSVhsv(55, 78%, 47%)
CMYKcmyk(0%, 6.7%, 78.3%, 52.9%)
CIE-LABlab(46.52, -7.16, 45.59)
CIE-LCHlch(46.52, 46.15, 98.92°)
OKLaboklab(53.65% -0.0247 0.1)
OKLCHoklch(53.65% 0.103 103.9)
XYZxyz(13.7270, 15.6566, 3.2760)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78701A #1A2278
analogous
#78411A #78701A #51781A
triadic
#78701A #1A7870 #701A78
tetradic
#78701A #1A7841 #1A2278 #781A51
square
#78701A #1A7841 #1A2278 #781A51
split-complementary
#78701A #1A5178 #411A78
monochromatic
#191705 #46410F #78701A #AA9F25 #D4C738

Accessibility & contrast

On white

5.08
#78701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#78701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78701A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78701A#FFFFFF#000000##FFFFFF
##78701A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#826860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #78701a;
/* rgb */ color: rgb(120, 112, 26);
/* oklch */ color: oklch(53.7% 0.103 103.9);
Tailwind
colors: {
  custom: {
    50: '#a2985e',
    500: '#78701a',
    950: '#000000',
  },
}
SCSS
$custom: #78701a;
$custom-light: #a2985e;
$custom-dark: #000000;
JSON
{
  "hex": "#78701a",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 54.894,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.10296,
    "h": 103.9
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#78701A
secondary
#414AAC
accent
#4FE740
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #78701A

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

Preview Lab → · Contrast checker → · Palette generator →

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