#816D1F#816D1F

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

Color values

HEX#816D1F
RGBrgb(129, 109, 31)
HSLhsl(48, 61%, 31%)
HSVhsv(48, 76%, 51%)
CMYKcmyk(0%, 15.5%, 76%, 49.4%)
CIE-LABlab(46.58, -0.95, 44.01)
CIE-LCHlch(46.58, 44.02, 91.23°)
OKLaboklab(53.93% -0.0071 0.0973)
OKLCHoklch(53.93% 0.098 94.2)
XYZxyz(14.7700, 15.7042, 3.5493)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D1F #1F3381
analogous
#813C1F #816D1F #64811F
triadic
#816D1F #1F816D #6D1F81
tetradic
#816D1F #1F813C #1F3381 #811F64
square
#816D1F #1F813C #1F3381 #811F64
split-complementary
#816D1F #1F6481 #3C1F81
monochromatic
#1E1A07 #504313 #816D1F #B2972B #D3B647

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816D1F#FFFFFF#000000##FFFFFF
##816D1F1.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)
#796B12
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#8C645E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816d1f;
/* rgb */ color: rgb(129, 109, 31);
/* oklch */ color: oklch(53.9% 0.098 94.2);
Tailwind
colors: {
  custom: {
    50: '#a99660',
    500: '#816d1f',
    950: '#000000',
  },
}
SCSS
$custom: #816d1f;
$custom-light: #a99660;
$custom-dark: #000000;
JSON
{
  "hex": "#816d1f",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 47.755,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53925,
    "c": 0.09752,
    "h": 94.2
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#816D1F
secondary
#485EB4
accent
#64E443
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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