#836D21#836D21

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

Color values

HEX#836D21
RGBrgb(131, 109, 33)
HSLhsl(47, 60%, 32%)
HSVhsv(47, 75%, 51%)
CMYKcmyk(0%, 16.8%, 74.8%, 48.6%)
CIE-LABlab(46.81, 0.10, 43.47)
CIE-LCHlch(46.81, 43.47, 89.87°)
OKLaboklab(54.16% -0.004 0.0964)
OKLCHoklch(54.16% 0.097 92.3)
XYZxyz(15.1040, 15.8733, 3.7068)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836D21 #213783
analogous
#833C21 #836D21 #688321
triadic
#836D21 #21836D #6D2183
tetradic
#836D21 #21833C #213783 #832168
square
#836D21 #21833C #213783 #832168
split-complementary
#836D21 #216883 #3C2183
monochromatic
#211C08 #524415 #836D21 #B4962D #D2B44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##836D21#FFFFFF#000000##FFFFFF
##836D211.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)
#796B16
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#8E645E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #836d21;
/* rgb */ color: rgb(131, 109, 33);
/* oklch */ color: oklch(54.2% 0.097 92.3);
Tailwind
colors: {
  custom: {
    50: '#aa9662',
    500: '#836d21',
    950: '#000000',
  },
}
SCSS
$custom: #836d21;
$custom-light: #aa9662;
$custom-dark: #000000;
JSON
{
  "hex": "#836d21",
  "rgb": {
    "r": 131,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 46.531,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.0965,
    "h": 92.3
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#836D21
secondary
#4B63B5
accent
#68E345
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #836D21

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

Preview Lab → · Contrast checker → · Palette generator →

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