#78701B#78701B

#78701B 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#78701B
RGBrgb(120, 112, 27)
HSLhsl(55, 63%, 29%)
HSVhsv(55, 78%, 47%)
CMYKcmyk(0%, 6.7%, 77.5%, 52.9%)
CIE-LABlab(46.53, -7.11, 45.22)
CIE-LCHlch(46.53, 45.78, 98.93°)
OKLaboklab(53.66% -0.0244 0.0994)
OKLCHoklch(53.66% 0.102 103.8)
XYZxyz(13.7383, 15.6611, 3.3359)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78701B #1B2378
analogous
#78421B #78701B #52781B
triadic
#78701B #1B7870 #701B78
tetradic
#78701B #1B7842 #1B2378 #781B52
square
#78701B #1B7842 #1B2378 #781B52
split-complementary
#78701B #1B5278 #421B78
monochromatic
#191706 #464110 #78701B #AA9F26 #D3C63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78701B#FFFFFF#000000##FFFFFF
##78701B1.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)
#7B6C0A
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#826860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #78701b;
/* rgb */ color: rgb(120, 112, 27);
/* oklch */ color: oklch(53.7% 0.102 103.8);
Tailwind
colors: {
  custom: {
    50: '#a2985f',
    500: '#78701b',
    950: '#000000',
  },
}
SCSS
$custom: #78701b;
$custom-light: #a2985f;
$custom-dark: #000000;
JSON
{
  "hex": "#78701b",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 54.839,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53659,
    "c": 0.10234,
    "h": 103.8
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#78701B
secondary
#434CAC
accent
#50E641
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #78701B

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

Preview Lab → · Contrast checker → · Palette generator →

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