#786E46#786E46

#786E46 is a mid, muted yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.058 H 95.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#786E46
RGBrgb(120, 110, 70)
HSLhsl(48, 26%, 37%)
HSVhsv(48, 42%, 47%)
CMYKcmyk(0%, 8.3%, 41.7%, 52.9%)
CIE-LABlab(46.43, -2.37, 23.72)
CIE-LCHlch(46.43, 23.84, 95.71°)
OKLaboklab(53.74% -0.0059 0.0582)
OKLCHoklch(53.74% 0.058 95.8)
XYZxyz(14.4275, 15.5876, 8.0419)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E46 #465078
analogous
#785546 #786E46 #697846
triadic
#786E46 #46786E #6E4678
tetradic
#786E46 #467855 #465078 #784669
square
#786E46 #467855 #465078 #784669
split-complementary
#786E46 #466978 #554678
monochromatic
#2B2719 #514B2F #786E46 #9F915D #B6AC82

Accessibility & contrast

On white

5.10
#786E46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#786E46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E46
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E46#FFFFFF#000000##FFFFFF
##786E461.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C43
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786e46;
/* rgb */ color: rgb(120, 110, 70);
/* oklch */ color: oklch(53.7% 0.058 95.8);
Tailwind
colors: {
  custom: {
    50: '#a0977a',
    500: '#786e46',
    950: '#000000',
  },
}
SCSS
$custom: #786e46;
$custom-light: #a0977a;
$custom-dark: #000000;
JSON
{
  "hex": "#786e46",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 70
  },
  "hsl": {
    "h": 48,
    "s": 26.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.05849,
    "h": 95.8
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#786E46
secondary
#7880A2
accent
#78C365
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786E46

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

Preview Lab → · Contrast checker → · Palette generator →

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