#786F50#786F50

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

Color values

HEX#786F50
RGBrgb(120, 111, 80)
HSLhsl(47, 20%, 39%)
HSVhsv(47, 33%, 47%)
CMYKcmyk(0%, 7.5%, 33.3%, 52.9%)
CIE-LABlab(46.90, -1.64, 18.57)
CIE-LCHlch(46.90, 18.64, 95.05°)
OKLaboklab(54.17% -0.0031 0.0465)
OKLCHoklch(54.17% 0.047 93.8)
XYZxyz(14.8783, 15.9415, 9.8811)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F50 #505978
analogous
#785B50 #786F50 #6D7850
triadic
#786F50 #50786F #6F5078
tetradic
#786F50 #50785B #505978 #78506D
square
#786F50 #50785B #505978 #78506D
split-complementary
#786F50 #506D78 #5B5078
monochromatic
#2F2B1F #534D38 #786F50 #9B906A #B4AC8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786F50#FFFFFF#000000##FFFFFF
##786F501.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)
#756E4E
Deuteranopia (green-blind)
#787051
Tritanopia (blue-blind)
#7E6A67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f50;
/* rgb */ color: rgb(120, 111, 80);
/* oklch */ color: oklch(54.2% 0.047 93.8);
Tailwind
colors: {
  custom: {
    50: '#9f9881',
    500: '#786f50',
    950: '#000000',
  },
}
SCSS
$custom: #786f50;
$custom-light: #9f9881;
$custom-dark: #000000;
JSON
{
  "hex": "#786f50",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 80
  },
  "hsl": {
    "h": 46.5,
    "s": 20,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.04661,
    "h": 93.8
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#786F50
secondary
#838AA1
accent
#7EBD6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0D0A
muted
#7E7E7C

Preview Lab

Preview with #786F50

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

Preview Lab → · Contrast checker → · Palette generator →

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