#816D2B#816D2B

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

Color values

HEX#816D2B
RGBrgb(129, 109, 43)
HSLhsl(46, 50%, 34%)
HSVhsv(46, 67%, 51%)
CMYKcmyk(0%, 15.5%, 66.7%, 49.4%)
CIE-LABlab(46.68, -0.24, 38.71)
CIE-LCHlch(46.68, 38.71, 90.35°)
OKLaboklab(54.04% -0.0035 0.0883)
OKLCHoklch(54.04% 0.088 92.3)
XYZxyz(14.9587, 15.7796, 4.5429)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D2B #2B3F81
analogous
#81422B #816D2B #6A812B
triadic
#816D2B #2B816D #6D2B81
tetradic
#816D2B #2B8142 #2B3F81 #812B6A
square
#816D2B #2B8142 #2B3F81 #812B6A
split-complementary
#816D2B #2B6A81 #422B81
monochromatic
#251F0C #53461C #816D2B #AF943A #C9B05D

Accessibility & contrast

On white

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

On black

4.16
#816D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##816D2B#FFFFFF#000000##FFFFFF
##816D2B1.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)
#786B23
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#8B645F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816d2b;
/* rgb */ color: rgb(129, 109, 43);
/* oklch */ color: oklch(54.0% 0.088 92.3);
Tailwind
colors: {
  custom: {
    50: '#a89667',
    500: '#816d2b',
    950: '#000000',
  },
}
SCSS
$custom: #816d2b;
$custom-light: #a89667;
$custom-dark: #000000;
JSON
{
  "hex": "#816d2b",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 43
  },
  "hsl": {
    "h": 46.047,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.08833,
    "h": 92.3
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#816D2B
secondary
#596DAF
accent
#6FDA4E
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #816D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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