#786F52#786F52

#786F52 is a mid, muted yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.044 H 92.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#786F52
RGBrgb(120, 111, 82)
HSLhsl(46, 19%, 40%)
HSVhsv(46, 32%, 47%)
CMYKcmyk(0%, 7.5%, 31.7%, 52.9%)
CIE-LABlab(46.94, -1.36, 17.45)
CIE-LCHlch(46.94, 17.51, 94.45°)
OKLaboklab(54.21% -0.0022 0.0439)
OKLCHoklch(54.21% 0.044 92.9)
XYZxyz(14.9533, 15.9715, 10.2761)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F52 #525B78
analogous
#785C52 #786F52 #6E7852
triadic
#786F52 #52786F #6F5278
tetradic
#786F52 #52785C #525B78 #78526E
square
#786F52 #52785C #525B78 #78526E
split-complementary
#786F52 #526E78 #5C5278
monochromatic
#2F2C20 #544D39 #786F52 #9B906C #B4AB91

Accessibility & contrast

On white

5.01
#786F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#786F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F52
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F52#FFFFFF#000000##FFFFFF
##786F521.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756E50
Deuteranopia (green-blind)
#787053
Tritanopia (blue-blind)
#7E6B67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f52;
/* rgb */ color: rgb(120, 111, 82);
/* oklch */ color: oklch(54.2% 0.044 92.9);
Tailwind
colors: {
  custom: {
    50: '#9f9882',
    500: '#786f52',
    950: '#000000',
  },
}
SCSS
$custom: #786f52;
$custom-light: #9f9882;
$custom-dark: #000000;
JSON
{
  "hex": "#786f52",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 82
  },
  "hsl": {
    "h": 45.789,
    "s": 18.812,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.04396,
    "h": 92.9
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#786F52
secondary
#858BA1
accent
#7FBB6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0D0A
muted
#7E7E7C

Preview Lab

Preview with #786F52

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

Preview Lab → · Contrast checker → · Palette generator →

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