#786E36#786E36

#786E36 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.077 H 99.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#786E36
RGBrgb(120, 110, 54)
HSLhsl(51, 38%, 34%)
HSVhsv(51, 55%, 47%)
CMYKcmyk(0%, 8.3%, 55%, 52.9%)
CIE-LABlab(46.19, -4.09, 32.29)
CIE-LCHlch(46.19, 32.55, 97.22°)
OKLaboklab(53.47% -0.0126 0.0762)
OKLCHoklch(53.47% 0.077 99.4)
XYZxyz(13.9880, 15.4118, 5.7273)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E36 #364078
analogous
#784D36 #786E36 #617836
triadic
#786E36 #36786E #6E3678
tetradic
#786E36 #36784D #364078 #783661
square
#786E36 #36784D #364078 #783661
split-complementary
#786E36 #366178 #4D3678
monochromatic
#242110 #4E4723 #786E36 #A29549 #BDB06C

Accessibility & contrast

On white

5.14
#786E36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#786E36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E36
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E36#FFFFFF#000000##FFFFFF
##786E361.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B31
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#806761
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786e36;
/* rgb */ color: rgb(120, 110, 54);
/* oklch */ color: oklch(53.5% 0.077 99.4);
Tailwind
colors: {
  custom: {
    50: '#a1976f',
    500: '#786e36',
    950: '#000000',
  },
}
SCSS
$custom: #786e36;
$custom-light: #a1976f;
$custom-dark: #000000;
JSON
{
  "hex": "#786e36",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 54
  },
  "hsl": {
    "h": 50.909,
    "s": 37.931,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.07718,
    "h": 99.4
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#786E36
secondary
#646EA5
accent
#6BCE5A
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #786E36

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

Preview Lab → · Contrast checker → · Palette generator →

#786E36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva