#836D1B#836D1B

#836D1B is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.1% C 0.100 H 93.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#836D1B
RGBrgb(131, 109, 27)
HSLhsl(47, 66%, 31%)
HSVhsv(47, 79%, 51%)
CMYKcmyk(0%, 16.8%, 79.4%, 48.6%)
CIE-LABlab(46.77, -0.18, 45.84)
CIE-LCHlch(46.77, 45.84, 90.23°)
OKLaboklab(54.11% -0.0055 0.1002)
OKLCHoklch(54.11% 0.1 93.1)
XYZxyz(15.0274, 15.8426, 3.3031)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836D1B #1B3183
analogous
#83391B #836D1B #65831B
triadic
#836D1B #1B836D #6D1B83
tetradic
#836D1B #1B8339 #1B3183 #831B65
square
#836D1B #1B8339 #1B3183 #831B65
split-complementary
#836D1B #1B6583 #391B83
monochromatic
#1E1906 #504311 #836D1B #B69725 #D8B841

Accessibility & contrast

On white

5.04
#836D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#836D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #836D1B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836D1B#FFFFFF#000000##FFFFFF
##836D1B1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#8E645D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #836d1b;
/* rgb */ color: rgb(131, 109, 27);
/* oklch */ color: oklch(54.1% 0.100 93.1);
Tailwind
colors: {
  custom: {
    50: '#ab965e',
    500: '#836d1b',
    950: '#000000',
  },
}
SCSS
$custom: #836d1b;
$custom-light: #ab965e;
$custom-dark: #000000;
JSON
{
  "hex": "#836d1b",
  "rgb": {
    "r": 131,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 47.308,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.10035,
    "h": 93.1
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#836D1B
secondary
#435CB6
accent
#63E93F
background
#FAF9F5
surface
#F5F1E9
border
#CFCBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #836D1B

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

Preview Lab → · Contrast checker → · Palette generator →

#836D1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva