#786A2E#786A2E

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

Color values

HEX#786A2E
RGBrgb(120, 106, 46)
HSLhsl(49, 45%, 33%)
HSVhsv(49, 62%, 47%)
CMYKcmyk(0%, 11.7%, 61.7%, 52.9%)
CIE-LABlab(44.94, -2.49, 35.02)
CIE-LCHlch(44.94, 35.11, 94.06°)
OKLaboklab(52.45% -0.009 0.0811)
OKLCHoklch(52.45% 0.082 96.3)
XYZxyz(13.3934, 14.4990, 4.6773)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A2E #2E3C78
analogous
#78452E #786A2E #61782E
triadic
#786A2E #2E786A #6A2E78
tetradic
#786A2E #2E7845 #2E3C78 #782E61
square
#786A2E #2E7845 #2E3C78 #782E61
split-complementary
#786A2E #2E6178 #452E78
monochromatic
#201C0C #4C431D #786A2E #A4913F #C2AF5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786A2E#FFFFFF#000000##FFFFFF
##786A2E1.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)
#746828
Deuteranopia (green-blind)
#786C31
Tritanopia (blue-blind)
#81635D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #786a2e;
/* rgb */ color: rgb(120, 106, 46);
/* oklch */ color: oklch(52.5% 0.082 96.3);
Tailwind
colors: {
  custom: {
    50: '#a19469',
    500: '#786a2e',
    950: '#000000',
  },
}
SCSS
$custom: #786a2e;
$custom-light: #a19469;
$custom-dark: #000000;
JSON
{
  "hex": "#786a2e",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 48.649,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.08159,
    "h": 96.3
  },
  "luminance": 0.14498
}

Semantic roles & 50–950 ramp

primary
#786A2E
secondary
#5A68A8
accent
#6CD454
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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