#78711F#78711F

#78711F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.101 H 104.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#78711F
RGBrgb(120, 113, 31)
HSLhsl(55, 59%, 30%)
HSVhsv(55, 74%, 47%)
CMYKcmyk(0%, 5.8%, 74.2%, 52.9%)
CIE-LABlab(46.85, -7.47, 43.97)
CIE-LCHlch(46.85, 44.60, 99.64°)
OKLaboklab(53.92% -0.025 0.0975)
OKLCHoklch(53.92% 0.101 104.4)
XYZxyz(13.8988, 15.9028, 3.6335)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78711F #1F2678
analogous
#78451F #78711F #53781F
triadic
#78711F #1F7871 #711F78
tetradic
#78711F #1F7845 #1F2678 #781F53
square
#78711F #1F7845 #1F2678 #781F53
split-complementary
#78711F #1F5378 #451F78
monochromatic
#181706 #474312 #78711F #A99F2C #CEC343

Accessibility & contrast

On white

5.02
#78711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#78711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78711F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78711F#FFFFFF#000000##FFFFFF
##78711F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D11
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#816961
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #78711f;
/* rgb */ color: rgb(120, 113, 31);
/* oklch */ color: oklch(53.9% 0.101 104.4);
Tailwind
colors: {
  custom: {
    50: '#a29961',
    500: '#78711f',
    950: '#000000',
  },
}
SCSS
$custom: #78711f;
$custom-light: #a29961;
$custom-dark: #000000;
JSON
{
  "hex": "#78711f",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 55.281,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53922,
    "c": 0.10068,
    "h": 104.4
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#78711F
secondary
#474FAB
accent
#52E246
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #78711F

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

Preview Lab → · Contrast checker → · Palette generator →

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