#826D1F#826D1F

#826D1F is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.098 H 93.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#826D1F
RGBrgb(130, 109, 31)
HSLhsl(47, 61%, 32%)
HSVhsv(47, 76%, 51%)
CMYKcmyk(0%, 16.2%, 76.2%, 49%)
CIE-LABlab(46.69, -0.47, 44.15)
CIE-LCHlch(46.69, 44.15, 90.61°)
OKLaboklab(54.03% -0.0058 0.0975)
OKLCHoklch(54.03% 0.098 93.4)
XYZxyz(14.9227, 15.7829, 3.5565)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826D1F #1F3482
analogous
#823C1F #826D1F #66821F
triadic
#826D1F #1F826D #6D1F82
tetradic
#826D1F #1F823C #1F3482 #821F66
square
#826D1F #1F823C #1F3482 #821F66
split-complementary
#826D1F #1F6682 #3C1F82
monochromatic
#1F1A07 #514413 #826D1F #B3962B #D3B648

Accessibility & contrast

On white

5.05
#826D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#826D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #826D1F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826D1F#FFFFFF#000000##FFFFFF
##826D1F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B12
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#8D645E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #826d1f;
/* rgb */ color: rgb(130, 109, 31);
/* oklch */ color: oklch(54.0% 0.098 93.4);
Tailwind
colors: {
  custom: {
    50: '#aa9660',
    500: '#826d1f',
    950: '#000000',
  },
}
SCSS
$custom: #826d1f;
$custom-light: #aa9660;
$custom-dark: #000000;
JSON
{
  "hex": "#826d1f",
  "rgb": {
    "r": 130,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 47.273,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.09767,
    "h": 93.4
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#826D1F
secondary
#485FB5
accent
#65E543
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #826D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#826D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva