#816F1A#816F1A

#816F1A is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.102 H 96.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#816F1A
RGBrgb(129, 111, 26)
HSLhsl(50, 66%, 30%)
HSVhsv(50, 80%, 51%)
CMYKcmyk(0%, 14%, 79.8%, 49.4%)
CIE-LABlab(47.12, -2.32, 46.47)
CIE-LCHlch(47.12, 46.52, 92.86°)
OKLaboklab(54.34% -0.0115 0.1014)
OKLCHoklch(54.34% 0.102 96.5)
XYZxyz(14.9249, 16.1114, 3.3008)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F1A #1A2C81
analogous
#813C1A #816F1A #5F811A
triadic
#816F1A #1A816F #6F1A81
tetradic
#816F1A #1A813C #1A2C81 #811A5F
square
#816F1A #1A813C #1A2C81 #811A5F
split-complementary
#816F1A #1A5F81 #3C1A81
monochromatic
#1B1705 #4E4310 #816F1A #B49B24 #D8BD3D

Accessibility & contrast

On white

4.97
#816F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#816F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816F1A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816F1A#FFFFFF#000000##FFFFFF
##816F1A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#8C665F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f1a;
/* rgb */ color: rgb(129, 111, 26);
/* oklch */ color: oklch(54.3% 0.102 96.5);
Tailwind
colors: {
  custom: {
    50: '#a9985e',
    500: '#816f1a',
    950: '#000000',
  },
}
SCSS
$custom: #816f1a;
$custom-light: #a9985e;
$custom-dark: #000000;
JSON
{
  "hex": "#816f1a",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 49.515,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.10206,
    "h": 96.5
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#816F1A
secondary
#4256B5
accent
#5CE93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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