#786A2B#786A2B

#786A2B is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.084 H 96.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#786A2B
RGBrgb(120, 106, 43)
HSLhsl(49, 47%, 32%)
HSVhsv(49, 64%, 47%)
CMYKcmyk(0%, 11.7%, 64.2%, 52.9%)
CIE-LABlab(44.91, -2.72, 36.50)
CIE-LCHlch(44.91, 36.60, 94.26°)
OKLaboklab(52.42% -0.01 0.0838)
OKLCHoklch(52.42% 0.084 96.8)
XYZxyz(13.3364, 14.4762, 4.3767)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A2B #2B3978
analogous
#78442B #786A2B #60782B
triadic
#786A2B #2B786A #6A2B78
tetradic
#786A2B #2B7844 #2B3978 #782B60
square
#786A2B #2B7844 #2B3978 #782B60
split-complementary
#786A2B #2B6078 #442B78
monochromatic
#1E1A0B #4B421B #786A2B #A5923B #C4B05A

Accessibility & contrast

On white

5.39
#786A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#786A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786A2B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786A2B#FFFFFF#000000##FFFFFF
##786A2B1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746824
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#81625C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #786a2b;
/* rgb */ color: rgb(120, 106, 43);
/* oklch */ color: oklch(52.4% 0.084 96.8);
Tailwind
colors: {
  custom: {
    50: '#a19467',
    500: '#786a2b',
    950: '#000000',
  },
}
SCSS
$custom: #786a2b;
$custom-light: #a19467;
$custom-dark: #000000;
JSON
{
  "hex": "#786a2b",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 49.091,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.08443,
    "h": 96.8
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#786A2B
secondary
#5565AA
accent
#69D751
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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