#786C1D#786C1D

#786C1D is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.7% C 0.097 H 100.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#786C1D
RGBrgb(120, 108, 29)
HSLhsl(52, 61%, 29%)
HSVhsv(52, 76%, 47%)
CMYKcmyk(0%, 10%, 75.8%, 52.9%)
CIE-LABlab(45.37, -4.74, 43.34)
CIE-LCHlch(45.37, 43.60, 96.24°)
OKLaboklab(52.74% -0.0175 0.0958)
OKLCHoklch(52.74% 0.097 100.4)
XYZxyz(13.3307, 14.8075, 3.3181)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786C1D #1D2978
analogous
#783F1D #786C1D #57781D
triadic
#786C1D #1D786C #6C1D78
tetradic
#786C1D #1D783F #1D2978 #781D57
square
#786C1D #1D783F #1D2978 #781D57
split-complementary
#786C1D #1D5778 #3F1D78
monochromatic
#191606 #474011 #786C1D #A99829 #D1BD3F

Accessibility & contrast

On white

5.30
#786C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#786C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786C1D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786C1D#FFFFFF#000000##FFFFFF
##786C1D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776910
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#82645D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #786c1d;
/* rgb */ color: rgb(120, 108, 29);
/* oklch */ color: oklch(52.7% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#a2955f',
    500: '#786c1d',
    950: '#000000',
  },
}
SCSS
$custom: #786c1d;
$custom-light: #a2955f;
$custom-dark: #000000;
JSON
{
  "hex": "#786c1d",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 29
  },
  "hsl": {
    "h": 52.088,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52744,
    "c": 0.09739,
    "h": 100.4
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#786C1D
secondary
#4553AC
accent
#59E444
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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