#816F2B#816F2B

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

Color values

HEX#816F2B
RGBrgb(129, 111, 43)
HSLhsl(47, 50%, 34%)
HSVhsv(47, 67%, 51%)
CMYKcmyk(0%, 14%, 66.7%, 49.4%)
CIE-LABlab(47.25, -1.39, 39.32)
CIE-LCHlch(47.25, 39.35, 92.02°)
OKLaboklab(54.48% -0.0068 0.0896)
OKLCHoklch(54.48% 0.09 94.3)
XYZxyz(15.1745, 16.2112, 4.6148)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F2B #2B3D81
analogous
#81442B #816F2B #68812B
triadic
#816F2B #2B816F #6F2B81
tetradic
#816F2B #2B8144 #2B3D81 #812B68
square
#816F2B #2B8144 #2B3D81 #812B68
split-complementary
#816F2B #2B6881 #442B81
monochromatic
#25200C #53481C #816F2B #AF963A #C9B35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816F2B#FFFFFF#000000##FFFFFF
##816F2B1.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)
#7A6D23
Deuteranopia (green-blind)
#7F722E
Tritanopia (blue-blind)
#8B6761
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f2b;
/* rgb */ color: rgb(129, 111, 43);
/* oklch */ color: oklch(54.5% 0.090 94.3);
Tailwind
colors: {
  custom: {
    50: '#a89868',
    500: '#816f2b',
    950: '#000000',
  },
}
SCSS
$custom: #816f2b;
$custom-light: #a89868;
$custom-dark: #000000;
JSON
{
  "hex": "#816f2b",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 47.442,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54483,
    "c": 0.08982,
    "h": 94.3
  },
  "luminance": 0.1621
}

Semantic roles & 50–950 ramp

primary
#816F2B
secondary
#596BAF
accent
#6BDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #816F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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