#816D2A#816D2A

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

Color values

HEX#816D2A
RGBrgb(129, 109, 42)
HSLhsl(46, 51%, 34%)
HSVhsv(46, 67%, 51%)
CMYKcmyk(0%, 15.5%, 67.4%, 49.4%)
CIE-LABlab(46.67, -0.30, 39.18)
CIE-LCHlch(46.67, 39.18, 90.45°)
OKLaboklab(54.03% -0.0038 0.0891)
OKLCHoklch(54.03% 0.089 92.5)
XYZxyz(14.9405, 15.7724, 4.4475)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D2A #2A3E81
analogous
#81412A #816D2A #69812A
triadic
#816D2A #2A816D #6D2A81
tetradic
#816D2A #2A8141 #2A3E81 #812A69
square
#816D2A #2A8141 #2A3E81 #812A69
split-complementary
#816D2A #2A6981 #412A81
monochromatic
#251F0C #53461B #816D2A #AF9439 #CAB05C

Accessibility & contrast

On white

5.05
#816D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#816D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816D2A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816D2A#FFFFFF#000000##FFFFFF
##816D2A1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B22
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#8B645F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816d2a;
/* rgb */ color: rgb(129, 109, 42);
/* oklch */ color: oklch(54.0% 0.089 92.5);
Tailwind
colors: {
  custom: {
    50: '#a89667',
    500: '#816d2a',
    950: '#000000',
  },
}
SCSS
$custom: #816d2a;
$custom-light: #a89667;
$custom-dark: #000000;
JSON
{
  "hex": "#816d2a",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 46.207,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.08917,
    "h": 92.5
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#816D2A
secondary
#576CAF
accent
#6EDA4D
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #816D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#816D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva