#786F4F#786F4F

#786F4F is a mid, muted yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.048 H 94.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#786F4F
RGBrgb(120, 111, 79)
HSLhsl(47, 21%, 39%)
HSVhsv(47, 34%, 47%)
CMYKcmyk(0%, 7.5%, 34.2%, 52.9%)
CIE-LABlab(46.88, -1.78, 19.12)
CIE-LCHlch(46.88, 19.21, 95.32°)
OKLaboklab(54.15% -0.0036 0.0478)
OKLCHoklch(54.15% 0.048 94.3)
XYZxyz(14.8416, 15.9269, 9.6880)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F4F #4F5878
analogous
#785B4F #786F4F #6D784F
triadic
#786F4F #4F786F #6F4F78
tetradic
#786F4F #4F785B #4F5878 #784F6D
square
#786F4F #4F785B #4F5878 #784F6D
split-complementary
#786F4F #4F6D78 #5B4F78
monochromatic
#2E2B1E #534D37 #786F4F #9C9168 #B4AC8D

Accessibility & contrast

On white

5.02
#786F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786F4F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F4F#FFFFFF#000000##FFFFFF
##786F4F1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D4D
Deuteranopia (green-blind)
#787050
Tritanopia (blue-blind)
#7E6A67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f4f;
/* rgb */ color: rgb(120, 111, 79);
/* oklch */ color: oklch(54.1% 0.048 94.3);
Tailwind
colors: {
  custom: {
    50: '#9f9880',
    500: '#786f4f',
    950: '#000000',
  },
}
SCSS
$custom: #786f4f;
$custom-light: #9f9880;
$custom-dark: #000000;
JSON
{
  "hex": "#786f4f",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 79
  },
  "hsl": {
    "h": 46.829,
    "s": 20.603,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.04793,
    "h": 94.3
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#786F4F
secondary
#8289A1
accent
#7DBD6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0D0A
muted
#7E7E7C

Preview Lab

Preview with #786F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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