#836D1F#836D1F

#836D1F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.098 H 92.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#836D1F
RGBrgb(131, 109, 31)
HSLhsl(47, 62%, 32%)
HSVhsv(47, 76%, 51%)
CMYKcmyk(0%, 16.8%, 76.3%, 48.6%)
CIE-LABlab(46.79, 0.00, 44.29)
CIE-LCHlch(46.79, 44.29, 90.00°)
OKLaboklab(54.14% -0.0045 0.0978)
OKLCHoklch(54.14% 0.098 92.6)
XYZxyz(15.0769, 15.8624, 3.5637)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836D1F #1F3583
analogous
#833B1F #836D1F #67831F
triadic
#836D1F #1F836D #6D1F83
tetradic
#836D1F #1F833B #1F3583 #831F67
square
#836D1F #1F833B #1F3583 #831F67
split-complementary
#836D1F #1F6783 #3B1F83
monochromatic
#201B08 #524413 #836D1F #B4962B #D4B549

Accessibility & contrast

On white

5.03
#836D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #836D1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836D1F#FFFFFF#000000##FFFFFF
##836D1F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B12
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#8E645E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #836d1f;
/* rgb */ color: rgb(131, 109, 31);
/* oklch */ color: oklch(54.1% 0.098 92.6);
Tailwind
colors: {
  custom: {
    50: '#ab9660',
    500: '#836d1f',
    950: '#000000',
  },
}
SCSS
$custom: #836d1f;
$custom-light: #ab9660;
$custom-dark: #000000;
JSON
{
  "hex": "#836d1f",
  "rgb": {
    "r": 131,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 46.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.09785,
    "h": 92.6
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#836D1F
secondary
#4860B6
accent
#67E543
background
#FAF9F5
surface
#F5F1EA
border
#CFCBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #836D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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