#786F46#786F46

#786F46 is a mid, muted yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.060 H 97.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#786F46
RGBrgb(120, 111, 70)
HSLhsl(49, 26%, 37%)
HSVhsv(49, 42%, 47%)
CMYKcmyk(0%, 7.5%, 41.7%, 52.9%)
CIE-LABlab(46.72, -2.95, 24.09)
CIE-LCHlch(46.72, 24.27, 96.97°)
OKLaboklab(53.97% -0.0076 0.059)
OKLCHoklch(53.97% 0.06 97.3)
XYZxyz(14.5360, 15.8046, 8.0781)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F46 #464F78
analogous
#785646 #786F46 #687846
triadic
#786F46 #46786F #6F4678
tetradic
#786F46 #467856 #464F78 #784668
square
#786F46 #467856 #464F78 #784668
split-complementary
#786F46 #466878 #564678
monochromatic
#2B2719 #514B2F #786F46 #9F935D #B6AD82

Accessibility & contrast

On white

5.05
#786F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#786F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F46
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F46#FFFFFF#000000##FFFFFF
##786F461.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D43
Deuteranopia (green-blind)
#797048
Tritanopia (blue-blind)
#7F6965
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786f46;
/* rgb */ color: rgb(120, 111, 70);
/* oklch */ color: oklch(54.0% 0.060 97.3);
Tailwind
colors: {
  custom: {
    50: '#a0987a',
    500: '#786f46',
    950: '#000000',
  },
}
SCSS
$custom: #786f46;
$custom-light: #a0987a;
$custom-dark: #000000;
JSON
{
  "hex": "#786f46",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 70
  },
  "hsl": {
    "h": 49.2,
    "s": 26.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.05952,
    "h": 97.3
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

primary
#786F46
secondary
#787FA2
accent
#76C365
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #786F46

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

Preview Lab → · Contrast checker → · Palette generator →

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