#786D29#786D29

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

Color values

HEX#786D29
RGBrgb(120, 109, 41)
HSLhsl(52, 49%, 32%)
HSVhsv(52, 66%, 47%)
CMYKcmyk(0%, 9.2%, 65.8%, 52.9%)
CIE-LABlab(45.76, -4.58, 38.41)
CIE-LCHlch(45.76, 38.68, 96.81°)
OKLaboklab(53.08% -0.0156 0.0876)
OKLCHoklch(53.08% 0.089 100.1)
XYZxyz(13.6152, 15.0910, 4.2931)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786D29 #293478
analogous
#784629 #786D29 #5C7829
triadic
#786D29 #29786D #6D2978
tetradic
#786D29 #297846 #293478 #78295C
square
#786D29 #297846 #293478 #78295C
split-complementary
#786D29 #295C78 #462978
monochromatic
#1D1A0A #4A4419 #786D29 #A69639 #C5B656

Accessibility & contrast

On white

5.23
#786D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#786D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786D29
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786D29#FFFFFF#000000##FFFFFF
##786D291.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A21
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#81655F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #786d29;
/* rgb */ color: rgb(120, 109, 41);
/* oklch */ color: oklch(53.1% 0.089 100.1);
Tailwind
colors: {
  custom: {
    50: '#a19666',
    500: '#786d29',
    950: '#000000',
  },
}
SCSS
$custom: #786d29;
$custom-light: #a19666;
$custom-dark: #000000;
JSON
{
  "hex": "#786d29",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 41
  },
  "hsl": {
    "h": 51.646,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.08895,
    "h": 100.1
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#786D29
secondary
#535FAA
accent
#62D94F
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786D29

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

Preview Lab → · Contrast checker → · Palette generator →

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