#78701C#78701C

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

Color values

HEX#78701C
RGBrgb(120, 112, 28)
HSLhsl(55, 62%, 29%)
HSVhsv(55, 77%, 47%)
CMYKcmyk(0%, 6.7%, 76.7%, 52.9%)
CIE-LABlab(46.53, -7.06, 44.85)
CIE-LCHlch(46.53, 45.40, 98.95°)
OKLaboklab(53.67% -0.0242 0.0988)
OKLCHoklch(53.67% 0.102 103.8)
XYZxyz(13.7501, 15.6658, 3.3979)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78701C #1C2478
analogous
#78421C #78701C #52781C
triadic
#78701C #1C7870 #701C78
tetradic
#78701C #1C7842 #1C2478 #781C52
square
#78701C #1C7842 #1C2478 #781C52
split-complementary
#78701C #1C5278 #421C78
monochromatic
#191706 #464210 #78701C #AA9E28 #D2C53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78701C#FFFFFF#000000##FFFFFF
##78701C1.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)
#7B6C0C
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#816860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #78701c;
/* rgb */ color: rgb(120, 112, 28);
/* oklch */ color: oklch(53.7% 0.102 103.8);
Tailwind
colors: {
  custom: {
    50: '#a2985f',
    500: '#78701c',
    950: '#000000',
  },
}
SCSS
$custom: #78701c;
$custom-light: #a2985f;
$custom-dark: #000000;
JSON
{
  "hex": "#78701c",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 54.783,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53666,
    "c": 0.10171,
    "h": 103.8
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#78701C
secondary
#444DAC
accent
#51E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #78701C

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

Preview Lab → · Contrast checker → · Palette generator →

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