#78701D#78701D

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

Color values

HEX#78701D
RGBrgb(120, 112, 29)
HSLhsl(55, 61%, 29%)
HSVhsv(55, 76%, 47%)
CMYKcmyk(0%, 6.7%, 75.8%, 52.9%)
CIE-LABlab(46.54, -7.01, 44.47)
CIE-LCHlch(46.54, 45.02, 98.96°)
OKLaboklab(53.67% -0.0239 0.0982)
OKLCHoklch(53.67% 0.101 103.7)
XYZxyz(13.7623, 15.6707, 3.4620)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78701D #1D2578
analogous
#78431D #78701D #53781D
triadic
#78701D #1D7870 #701D78
tetradic
#78701D #1D7843 #1D2578 #781D53
square
#78701D #1D7843 #1D2578 #781D53
split-complementary
#78701D #1D5378 #431D78
monochromatic
#191706 #474211 #78701D #A99E29 #D1C43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78701D#FFFFFF#000000##FFFFFF
##78701D1.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)
#7B6C0E
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#816860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #78701d;
/* rgb */ color: rgb(120, 112, 29);
/* oklch */ color: oklch(53.7% 0.101 103.7);
Tailwind
colors: {
  custom: {
    50: '#a29860',
    500: '#78701d',
    950: '#000000',
  },
}
SCSS
$custom: #78701d;
$custom-light: #a29860;
$custom-dark: #000000;
JSON
{
  "hex": "#78701d",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 54.725,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.10106,
    "h": 103.7
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#78701D
secondary
#454EAC
accent
#52E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #78701D

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

Preview Lab → · Contrast checker → · Palette generator →

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