#816E2A#816E2A

#816E2A is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.090 H 93.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#816E2A
RGBrgb(129, 110, 42)
HSLhsl(47, 51%, 34%)
HSVhsv(47, 67%, 51%)
CMYKcmyk(0%, 14.7%, 67.4%, 49.4%)
CIE-LABlab(46.96, -0.88, 39.49)
CIE-LCHlch(46.96, 39.50, 91.28°)
OKLaboklab(54.25% -0.0055 0.0897)
OKLCHoklch(54.25% 0.09 93.5)
XYZxyz(15.0478, 15.9870, 4.4832)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E2A #2A3D81
analogous
#81422A #816E2A #68812A
triadic
#816E2A #2A816E #6E2A81
tetradic
#816E2A #2A8142 #2A3D81 #812A68
square
#816E2A #2A8142 #2A3D81 #812A68
split-complementary
#816E2A #2A6881 #422A81
monochromatic
#251F0C #53471B #816E2A #AF9539 #CAB25C

Accessibility & contrast

On white

5.00
#816E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#816E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816E2A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816E2A#FFFFFF#000000##FFFFFF
##816E2A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C22
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#8B6560
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e2a;
/* rgb */ color: rgb(129, 110, 42);
/* oklch */ color: oklch(54.2% 0.090 93.5);
Tailwind
colors: {
  custom: {
    50: '#a89767',
    500: '#816e2a',
    950: '#000000',
  },
}
SCSS
$custom: #816e2a;
$custom-light: #a89767;
$custom-dark: #000000;
JSON
{
  "hex": "#816e2a",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 46.897,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.08991,
    "h": 93.5
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#816E2A
secondary
#576BAF
accent
#6CDA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #816E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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