#786F53#786F53

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

Color values

HEX#786F53
RGBrgb(120, 111, 83)
HSLhsl(45, 18%, 40%)
HSVhsv(45, 31%, 47%)
CMYKcmyk(0%, 7.5%, 30.8%, 52.9%)
CIE-LABlab(46.96, -1.22, 16.90)
CIE-LCHlch(46.96, 16.94, 94.12°)
OKLaboklab(54.23% -0.0018 0.0426)
OKLCHoklch(54.23% 0.043 92.4)
XYZxyz(14.9916, 15.9869, 10.4780)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F53 #535C78
analogous
#785C53 #786F53 #6F7853
triadic
#786F53 #53786F #6F5378
tetradic
#786F53 #53785C #535C78 #78536F
square
#786F53 #53785C #535C78 #78536F
split-complementary
#786F53 #536F78 #5C5378
monochromatic
#302C21 #544E3A #786F53 #9B906E #B4AB92

Accessibility & contrast

On white

5.00
#786F53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#786F53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F53
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F53#FFFFFF#000000##FFFFFF
##786F531.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756E51
Deuteranopia (green-blind)
#777154
Tritanopia (blue-blind)
#7E6B68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f53;
/* rgb */ color: rgb(120, 111, 83);
/* oklch */ color: oklch(54.2% 0.043 92.4);
Tailwind
colors: {
  custom: {
    50: '#9f9883',
    500: '#786f53',
    950: '#000000',
  },
}
SCSS
$custom: #786f53;
$custom-light: #9f9883;
$custom-dark: #000000;
JSON
{
  "hex": "#786f53",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 83
  },
  "hsl": {
    "h": 45.405,
    "s": 18.227,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.04262,
    "h": 92.4
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#786F53
secondary
#868CA1
accent
#80BB6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0D0A
muted
#7E7E7C

Preview Lab

Preview with #786F53

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

Preview Lab → · Contrast checker → · Palette generator →

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