#786E4E#786E4E

#786E4E is a mid, muted yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.048 H 92.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#786E4E
RGBrgb(120, 110, 78)
HSLhsl(46, 21%, 39%)
HSVhsv(46, 35%, 47%)
CMYKcmyk(0%, 8.3%, 35%, 52.9%)
CIE-LABlab(46.57, -1.34, 19.30)
CIE-LCHlch(46.57, 19.34, 93.97°)
OKLaboklab(53.9% -0.0023 0.0482)
OKLCHoklch(53.9% 0.048 92.8)
XYZxyz(14.6970, 15.6954, 9.4616)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E4E #4E5878
analogous
#78594E #786E4E #6D784E
triadic
#786E4E #4E786E #6E4E78
tetradic
#786E4E #4E7859 #4E5878 #784E6D
square
#786E4E #4E7859 #4E5878 #784E6D
split-complementary
#786E4E #4E6D78 #594E78
monochromatic
#2E2A1E #534C36 #786E4E #9C9067 #B4AB8C

Accessibility & contrast

On white

5.07
#786E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#786E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E4E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E4E#FFFFFF#000000##FFFFFF
##786E4E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756D4C
Deuteranopia (green-blind)
#77704F
Tritanopia (blue-blind)
#7E6966
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786e4e;
/* rgb */ color: rgb(120, 110, 78);
/* oklch */ color: oklch(53.9% 0.048 92.8);
Tailwind
colors: {
  custom: {
    50: '#9f9780',
    500: '#786e4e',
    950: '#000000',
  },
}
SCSS
$custom: #786e4e;
$custom-light: #9f9780;
$custom-dark: #000000;
JSON
{
  "hex": "#786e4e",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 78
  },
  "hsl": {
    "h": 45.714,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.04824,
    "h": 92.8
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#786E4E
secondary
#8188A1
accent
#7EBE6A
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0D0A
muted
#7E7E7C

Preview Lab

Preview with #786E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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