#816F2D#816F2D

#816F2D is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.5% C 0.088 H 94.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#816F2D
RGBrgb(129, 111, 45)
HSLhsl(47, 48%, 34%)
HSVhsv(47, 65%, 51%)
CMYKcmyk(0%, 14%, 65.1%, 49.4%)
CIE-LABlab(47.27, -1.25, 38.37)
CIE-LCHlch(47.27, 38.39, 91.86°)
OKLaboklab(54.51% -0.0061 0.0879)
OKLCHoklch(54.51% 0.088 94)
XYZxyz(15.2120, 16.2262, 4.8128)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F2D #2D3F81
analogous
#81452D #816F2D #69812D
triadic
#816F2D #2D816F #6F2D81
tetradic
#816F2D #2D8145 #2D3F81 #812D69
square
#816F2D #2D8145 #2D3F81 #812D69
split-complementary
#816F2D #2D6981 #452D81
monochromatic
#26210D #54481D #816F2D #AE963D #C8B261

Accessibility & contrast

On white

4.95
#816F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#816F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816F2D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816F2D#FFFFFF#000000##FFFFFF
##816F2D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D26
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#8B6761
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f2d;
/* rgb */ color: rgb(129, 111, 45);
/* oklch */ color: oklch(54.5% 0.088 94.0);
Tailwind
colors: {
  custom: {
    50: '#a89869',
    500: '#816f2d',
    950: '#000000',
  },
}
SCSS
$custom: #816f2d;
$custom-light: #a89869;
$custom-dark: #000000;
JSON
{
  "hex": "#816f2d",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 47.143,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.08807,
    "h": 94
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#816F2D
secondary
#5C6DAE
accent
#6DD850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #816F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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