#836F17#836F17

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

Color values

HEX#836F17
RGBrgb(131, 111, 23)
HSLhsl(49, 70%, 30%)
HSVhsv(49, 82%, 51%)
CMYKcmyk(0%, 15.3%, 82.4%, 48.6%)
CIE-LABlab(47.31, -1.49, 47.77)
CIE-LCHlch(47.31, 47.80, 91.79°)
OKLaboklab(54.53% -0.0096 0.1035)
OKLCHoklch(54.53% 0.104 95.3)
XYZxyz(15.2000, 16.2569, 3.1477)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836F17 #172B83
analogous
#833917 #836F17 #618317
triadic
#836F17 #17836F #6F1783
tetradic
#836F17 #178339 #172B83 #831761
square
#836F17 #178339 #172B83 #831761
split-complementary
#836F17 #176183 #391783
monochromatic
#1B1705 #4F430E #836F17 #B79B20 #DCBE38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##836F17#FFFFFF#000000##FFFFFF
##836F171.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)
#7C6D02
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#8E655F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #836f17;
/* rgb */ color: rgb(131, 111, 23);
/* oklch */ color: oklch(54.5% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#ab985d',
    500: '#836f17',
    950: '#000000',
  },
}
SCSS
$custom: #836f17;
$custom-light: #ab985d;
$custom-dark: #000000;
JSON
{
  "hex": "#836f17",
  "rgb": {
    "r": 131,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 48.889,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.10389,
    "h": 95.3
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#836F17
secondary
#3F55B7
accent
#5CED3B
background
#FAF9F5
surface
#F5F2E9
border
#CFCCC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #836F17

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

Preview Lab → · Contrast checker → · Palette generator →

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