#836F1B#836F1B

#836F1B is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.102 H 94.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#836F1B
RGBrgb(131, 111, 27)
HSLhsl(48, 66%, 31%)
HSVhsv(48, 79%, 51%)
CMYKcmyk(0%, 15.3%, 79.4%, 48.6%)
CIE-LABlab(47.33, -1.33, 46.37)
CIE-LCHlch(47.33, 46.39, 91.64°)
OKLaboklab(54.56% -0.0087 0.1013)
OKLCHoklch(54.56% 0.102 94.9)
XYZxyz(15.2432, 16.2742, 3.3750)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836F1B #1B2F83
analogous
#833B1B #836F1B #63831B
triadic
#836F1B #1B836F #6F1B83
tetradic
#836F1B #1B833B #1B2F83 #831B63
square
#836F1B #1B833B #1B2F83 #831B63
split-complementary
#836F1B #1B6383 #3B1B83
monochromatic
#1E1906 #504411 #836F1B #B69A25 #D8BB41

Accessibility & contrast

On white

4.94
#836F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#836F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #836F1B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836F1B#FFFFFF#000000##FFFFFF
##836F1B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0A
Deuteranopia (green-blind)
#807320
Tritanopia (blue-blind)
#8E665F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #836f1b;
/* rgb */ color: rgb(131, 111, 27);
/* oklch */ color: oklch(54.6% 0.102 94.9);
Tailwind
colors: {
  custom: {
    50: '#ab985f',
    500: '#836f1b',
    950: '#000000',
  },
}
SCSS
$custom: #836f1b;
$custom-light: #ab985f;
$custom-dark: #000000;
JSON
{
  "hex": "#836f1b",
  "rgb": {
    "r": 131,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 48.462,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.10169,
    "h": 94.9
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#836F1B
secondary
#4359B6
accent
#60E93F
background
#FAF9F5
surface
#F5F2E9
border
#CFCCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #836F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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