#786F2D#786F2D

#786F2D is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.6% C 0.087 H 101.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#786F2D
RGBrgb(120, 111, 45)
HSLhsl(53, 45%, 32%)
HSVhsv(53, 63%, 47%)
CMYKcmyk(0%, 7.5%, 62.5%, 52.9%)
CIE-LABlab(46.38, -5.43, 37.14)
CIE-LCHlch(46.38, 37.54, 98.32°)
OKLaboklab(53.59% -0.0175 0.0855)
OKLCHoklch(53.59% 0.087 101.6)
XYZxyz(13.9043, 15.5520, 4.7515)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F2D #2D3678
analogous
#784A2D #786F2D #5C782D
triadic
#786F2D #2D786F #6F2D78
tetradic
#786F2D #2D784A #2D3678 #782D5C
square
#786F2D #2D784A #2D3678 #782D5C
split-complementary
#786F2D #2D5C78 #4A2D78
monochromatic
#1F1D0C #4B461C #786F2D #A5983E #C2B65D

Accessibility & contrast

On white

5.11
#786F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#786F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F2D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F2D#FFFFFF#000000##FFFFFF
##786F2D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C26
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#816861
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786f2d;
/* rgb */ color: rgb(120, 111, 45);
/* oklch */ color: oklch(53.6% 0.087 101.6);
Tailwind
colors: {
  custom: {
    50: '#a19869',
    500: '#786f2d',
    950: '#000000',
  },
}
SCSS
$custom: #786f2d;
$custom-light: #a19869;
$custom-dark: #000000;
JSON
{
  "hex": "#786f2d",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 52.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.08726,
    "h": 101.6
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#786F2D
secondary
#5862A9
accent
#62D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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