#836A17#836A17

#836A17 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.4% C 0.101 H 90.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#836A17
RGBrgb(131, 106, 23)
HSLhsl(46, 70%, 30%)
HSVhsv(46, 82%, 51%)
CMYKcmyk(0%, 19.1%, 82.4%, 48.6%)
CIE-LABlab(45.90, 1.38, 46.52)
CIE-LCHlch(45.90, 46.54, 88.29°)
OKLaboklab(53.42% -0.0014 0.1007)
OKLCHoklch(53.42% 0.101 90.8)
XYZxyz(14.6696, 15.1962, 2.9709)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836A17 #173083
analogous
#833417 #836A17 #668317
triadic
#836A17 #17836A #6A1783
tetradic
#836A17 #178334 #173083 #831766
square
#836A17 #178334 #173083 #831766
split-complementary
#836A17 #176683 #341783
monochromatic
#1B1605 #4F400E #836A17 #B79420 #DCB638

Accessibility & contrast

On white

5.20
#836A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#836A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #836A17
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836A17#FFFFFF#000000##FFFFFF
##836A171.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#7D701C
Tritanopia (blue-blind)
#8E605A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #836a17;
/* rgb */ color: rgb(131, 106, 23);
/* oklch */ color: oklch(53.4% 0.101 90.8);
Tailwind
colors: {
  custom: {
    50: '#ab945c',
    500: '#836a17',
    950: '#000000',
  },
}
SCSS
$custom: #836a17;
$custom-light: #ab945c;
$custom-dark: #000000;
JSON
{
  "hex": "#836a17",
  "rgb": {
    "r": 131,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 46.111,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.10075,
    "h": 90.8
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#836A17
secondary
#3F5AB7
accent
#64ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #836A17

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

Preview Lab → · Contrast checker → · Palette generator →

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