#78701F#78701F

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

Color values

HEX#78701F
RGBrgb(120, 112, 31)
HSLhsl(55, 59%, 30%)
HSVhsv(55, 74%, 47%)
CMYKcmyk(0%, 6.7%, 74.2%, 52.9%)
CIE-LABlab(46.55, -6.91, 43.68)
CIE-LCHlch(46.55, 44.22, 98.99°)
OKLaboklab(53.69% -0.0234 0.0969)
OKLCHoklch(53.69% 0.1 103.6)
XYZxyz(13.7878, 15.6809, 3.5965)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78701F #1F2778
analogous
#78441F #78701F #54781F
triadic
#78701F #1F7870 #701F78
tetradic
#78701F #1F7844 #1F2778 #781F54
square
#78701F #1F7844 #1F2778 #781F54
split-complementary
#78701F #1F5478 #441F78
monochromatic
#181706 #474312 #78701F #A99D2C #CEC243

Accessibility & contrast

On white

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

On black

4.14
#78701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78701F#FFFFFF#000000##FFFFFF
##78701F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C12
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#816860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #78701f;
/* rgb */ color: rgb(120, 112, 31);
/* oklch */ color: oklch(53.7% 0.100 103.6);
Tailwind
colors: {
  custom: {
    50: '#a29861',
    500: '#78701f',
    950: '#000000',
  },
}
SCSS
$custom: #78701f;
$custom-light: #a29861;
$custom-dark: #000000;
JSON
{
  "hex": "#78701f",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 54.607,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.09971,
    "h": 103.6
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#78701F
secondary
#4750AB
accent
#54E246
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #78701F

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

Preview Lab → · Contrast checker → · Palette generator →

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