#786D2E#786D2E

#786D2E is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.084 H 99.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#786D2E
RGBrgb(120, 109, 46)
HSLhsl(51, 45%, 33%)
HSVhsv(51, 62%, 47%)
CMYKcmyk(0%, 9.2%, 61.7%, 52.9%)
CIE-LABlab(45.81, -4.21, 36.00)
CIE-LCHlch(45.81, 36.25, 96.67°)
OKLaboklab(53.14% -0.0139 0.0832)
OKLCHoklch(53.14% 0.084 99.5)
XYZxyz(13.7080, 15.1282, 4.7822)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D2E #2E3978
analogous
#78482E #786D2E #5E782E
triadic
#786D2E #2E786D #6D2E78
tetradic
#786D2E #2E7848 #2E3978 #782E5E
square
#786D2E #2E7848 #2E3978 #782E5E
split-complementary
#786D2E #2E5E78 #482E78
monochromatic
#201D0C #4C451D #786D2E #A4953F #C2B35F

Accessibility & contrast

On white

5.22
#786D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#786D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D2E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D2E#FFFFFF#000000##FFFFFF
##786D2E1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A27
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#81665F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #786d2e;
/* rgb */ color: rgb(120, 109, 46);
/* oklch */ color: oklch(53.1% 0.084 99.5);
Tailwind
colors: {
  custom: {
    50: '#a19669',
    500: '#786d2e',
    950: '#000000',
  },
}
SCSS
$custom: #786d2e;
$custom-light: #a19669;
$custom-dark: #000000;
JSON
{
  "hex": "#786d2e",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 51.081,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.08435,
    "h": 99.5
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

primary
#786D2E
secondary
#5A65A8
accent
#67D454
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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