#816E1D#816E1D

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

Color values

HEX#816E1D
RGBrgb(129, 110, 29)
HSLhsl(49, 63%, 31%)
HSVhsv(49, 78%, 51%)
CMYKcmyk(0%, 14.7%, 77.5%, 49.4%)
CIE-LABlab(46.85, -1.61, 45.08)
CIE-LCHlch(46.85, 45.11, 92.05°)
OKLaboklab(54.13% -0.0092 0.0991)
OKLCHoklch(54.13% 0.1 95.3)
XYZxyz(14.8518, 15.9085, 3.4505)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E1D #1D3081
analogous
#813C1D #816E1D #62811D
triadic
#816E1D #1D816E #6E1D81
tetradic
#816E1D #1D813C #1D3081 #811D62
square
#816E1D #1D813C #1D3081 #811D62
split-complementary
#816E1D #1D6281 #3C1D81
monochromatic
#1D1907 #4F4312 #816E1D #B39928 #D5B944

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816E1D#FFFFFF#000000##FFFFFF
##816E1D1.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)
#7A6C0E
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#8C655E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e1d;
/* rgb */ color: rgb(129, 110, 29);
/* oklch */ color: oklch(54.1% 0.100 95.3);
Tailwind
colors: {
  custom: {
    50: '#a99760',
    500: '#816e1d',
    950: '#000000',
  },
}
SCSS
$custom: #816e1d;
$custom-light: #a99760;
$custom-dark: #000000;
JSON
{
  "hex": "#816e1d",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 29
  },
  "hsl": {
    "h": 48.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.09953,
    "h": 95.3
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#816E1D
secondary
#465BB4
accent
#61E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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