#816E1F#816E1F

#816E1F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.098 H 95.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#816E1F
RGBrgb(129, 110, 31)
HSLhsl(48, 61%, 31%)
HSVhsv(48, 76%, 51%)
CMYKcmyk(0%, 14.7%, 76%, 49.4%)
CIE-LABlab(46.87, -1.52, 44.29)
CIE-LCHlch(46.87, 44.32, 91.96°)
OKLaboklab(54.15% -0.0087 0.0978)
OKLCHoklch(54.15% 0.098 95.1)
XYZxyz(14.8773, 15.9187, 3.5851)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E1F #1F3281
analogous
#813D1F #816E1F #63811F
triadic
#816E1F #1F816E #6E1F81
tetradic
#816E1F #1F813D #1F3281 #811F63
square
#816E1F #1F813D #1F3281 #811F63
split-complementary
#816E1F #1F6381 #3D1F81
monochromatic
#1E1A07 #504413 #816E1F #B2982B #D3B847

Accessibility & contrast

On white

5.02
#816E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#816E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816E1F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816E1F#FFFFFF#000000##FFFFFF
##816E1F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#8C655E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e1f;
/* rgb */ color: rgb(129, 110, 31);
/* oklch */ color: oklch(54.1% 0.098 95.1);
Tailwind
colors: {
  custom: {
    50: '#a99761',
    500: '#816e1f',
    950: '#000000',
  },
}
SCSS
$custom: #816e1f;
$custom-light: #a99761;
$custom-dark: #000000;
JSON
{
  "hex": "#816e1f",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 48.367,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.09823,
    "h": 95.1
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#816E1F
secondary
#485DB4
accent
#63E443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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