#836D17#836D17

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

Color values

HEX#836D17
RGBrgb(131, 109, 23)
HSLhsl(48, 70%, 30%)
HSVhsv(48, 82%, 51%)
CMYKcmyk(0%, 16.8%, 82.4%, 48.6%)
CIE-LABlab(46.74, -0.34, 47.27)
CIE-LCHlch(46.74, 47.27, 90.42°)
OKLaboklab(54.09% -0.0063 0.1024)
OKLCHoklch(54.09% 0.103 93.5)
XYZxyz(14.9842, 15.8253, 3.0758)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836D17 #172D83
analogous
#833717 #836D17 #638317
triadic
#836D17 #17836D #6D1783
tetradic
#836D17 #178337 #172D83 #831763
square
#836D17 #178337 #172D83 #831763
split-complementary
#836D17 #176383 #371783
monochromatic
#1B1605 #4F420E #836D17 #B79820 #DCBB38

Accessibility & contrast

On white

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

On black

4.16
#836D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##836D17#FFFFFF#000000##FFFFFF
##836D171.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#7F721D
Tritanopia (blue-blind)
#8E635D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #836d17;
/* rgb */ color: rgb(131, 109, 23);
/* oklch */ color: oklch(54.1% 0.103 93.5);
Tailwind
colors: {
  custom: {
    50: '#ab965d',
    500: '#836d17',
    950: '#000000',
  },
}
SCSS
$custom: #836d17;
$custom-light: #ab965d;
$custom-dark: #000000;
JSON
{
  "hex": "#836d17",
  "rgb": {
    "r": 131,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 47.778,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.10257,
    "h": 93.5
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#836D17
secondary
#3F57B7
accent
#5FED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #836D17

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

Preview Lab → · Contrast checker → · Palette generator →

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