#816F2A#816F2A

#816F2A is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.5% C 0.091 H 94.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#816F2A
RGBrgb(129, 111, 42)
HSLhsl(48, 51%, 34%)
HSVhsv(48, 67%, 51%)
CMYKcmyk(0%, 14%, 67.4%, 49.4%)
CIE-LABlab(47.24, -1.45, 39.79)
CIE-LCHlch(47.24, 39.82, 92.09°)
OKLaboklab(54.47% -0.0071 0.0904)
OKLCHoklch(54.47% 0.091 94.5)
XYZxyz(15.1563, 16.2040, 4.5194)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F2A #2A3C81
analogous
#81432A #816F2A #67812A
triadic
#816F2A #2A816F #6F2A81
tetradic
#816F2A #2A8143 #2A3C81 #812A67
square
#816F2A #2A8143 #2A3C81 #812A67
split-complementary
#816F2A #2A6781 #432A81
monochromatic
#25200C #53471B #816F2A #AF9739 #CAB35C

Accessibility & contrast

On white

4.95
#816F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#816F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816F2A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816F2A#FFFFFF#000000##FFFFFF
##816F2A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D22
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#8B6660
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f2a;
/* rgb */ color: rgb(129, 111, 42);
/* oklch */ color: oklch(54.5% 0.091 94.5);
Tailwind
colors: {
  custom: {
    50: '#a89867',
    500: '#816f2a',
    950: '#000000',
  },
}
SCSS
$custom: #816f2a;
$custom-light: #a89867;
$custom-dark: #000000;
JSON
{
  "hex": "#816f2a",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 47.586,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.09066,
    "h": 94.5
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#816F2A
secondary
#576AAF
accent
#6BDA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #816F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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