#786116#786116

#786116 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 50.2% C 0.094 H 90.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#786116
RGBrgb(120, 97, 22)
HSLhsl(46, 69%, 28%)
HSVhsv(46, 82%, 47%)
CMYKcmyk(0%, 19.2%, 81.7%, 52.9%)
CIE-LABlab(42.16, 1.31, 43.05)
CIE-LCHlch(42.16, 43.06, 88.26°)
OKLaboklab(50.19% -0.0011 0.0937)
OKLCHoklch(50.19% 0.094 90.7)
XYZxyz(12.1660, 12.6012, 2.5504)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786116 #162D78
analogous
#783016 #786116 #5E7816
triadic
#786116 #167861 #611678
tetradic
#786116 #167830 #162D78 #78165E
square
#786116 #167830 #162D78 #78165E
split-complementary
#786116 #165E78 #301678
monochromatic
#1A1505 #44370D #786116 #AC8B1F #D9B12F

Accessibility & contrast

On white

5.97
#786116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#786116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786116
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786116#FFFFFF#000000##FFFFFF
##7861161.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6006
Deuteranopia (green-blind)
#73661B
Tritanopia (blue-blind)
#835853
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #786116;
/* rgb */ color: rgb(120, 97, 22);
/* oklch */ color: oklch(50.2% 0.094 90.7);
Tailwind
colors: {
  custom: {
    50: '#a38d5a',
    500: '#786116',
    950: '#000000',
  },
}
SCSS
$custom: #786116;
$custom-light: #a38d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#786116",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 45.918,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.09366,
    "h": 90.7
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#786116
secondary
#3C57AD
accent
#65EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786116

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

Preview Lab → · Contrast checker → · Palette generator →

#786116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva