#786E1D#786E1D

#786E1D is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.099 H 102.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#786E1D
RGBrgb(120, 110, 29)
HSLhsl(53, 61%, 29%)
HSVhsv(53, 76%, 47%)
CMYKcmyk(0%, 8.3%, 75.8%, 52.9%)
CIE-LABlab(45.95, -5.88, 43.90)
CIE-LCHlch(45.95, 44.29, 97.63°)
OKLaboklab(53.21% -0.0207 0.097)
OKLCHoklch(53.21% 0.099 102.1)
XYZxyz(13.5440, 15.2342, 3.3892)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E1D #1D2778
analogous
#78411D #786E1D #55781D
triadic
#786E1D #1D786E #6E1D78
tetradic
#786E1D #1D7841 #1D2778 #781D55
square
#786E1D #1D7841 #1D2778 #781D55
split-complementary
#786E1D #1D5578 #411D78
monochromatic
#191706 #474111 #786E1D #A99B29 #D1C13F

Accessibility & contrast

On white

5.19
#786E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#786E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E1D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E1D#FFFFFF#000000##FFFFFF
##786E1D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0F
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#82665E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786e1d;
/* rgb */ color: rgb(120, 110, 29);
/* oklch */ color: oklch(53.2% 0.099 102.1);
Tailwind
colors: {
  custom: {
    50: '#a2975f',
    500: '#786e1d',
    950: '#000000',
  },
}
SCSS
$custom: #786e1d;
$custom-light: #a2975f;
$custom-dark: #000000;
JSON
{
  "hex": "#786e1d",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 29
  },
  "hsl": {
    "h": 53.407,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.09918,
    "h": 102.1
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#786E1D
secondary
#4550AC
accent
#55E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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