#816D1D#816D1D

#816D1D is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.099 H 94.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#816D1D
RGBrgb(129, 109, 29)
HSLhsl(48, 63%, 31%)
HSVhsv(48, 78%, 51%)
CMYKcmyk(0%, 15.5%, 77.5%, 49.4%)
CIE-LABlab(46.57, -1.04, 44.81)
CIE-LCHlch(46.57, 44.82, 91.33°)
OKLaboklab(53.91% -0.0076 0.0985)
OKLCHoklch(53.91% 0.099 94.4)
XYZxyz(14.7445, 15.6940, 3.4148)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D1D #1D3181
analogous
#813B1D #816D1D #63811D
triadic
#816D1D #1D816D #6D1D81
tetradic
#816D1D #1D813B #1D3181 #811D63
square
#816D1D #1D813B #1D3181 #811D63
split-complementary
#816D1D #1D6381 #3B1D81
monochromatic
#1D1907 #4F4312 #816D1D #B39728 #D5B844

Accessibility & contrast

On white

5.07
#816D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#816D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816D1D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816D1D#FFFFFF#000000##FFFFFF
##816D1D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0F
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#8C645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816d1d;
/* rgb */ color: rgb(129, 109, 29);
/* oklch */ color: oklch(53.9% 0.099 94.4);
Tailwind
colors: {
  custom: {
    50: '#a9965f',
    500: '#816d1d',
    950: '#000000',
  },
}
SCSS
$custom: #816d1d;
$custom-light: #a9965f;
$custom-dark: #000000;
JSON
{
  "hex": "#816d1d",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 48,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.09881,
    "h": 94.4
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#816D1D
secondary
#465CB4
accent
#62E641
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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