#816E2B#816E2B

#816E2B is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.3% C 0.089 H 93.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#816E2B
RGBrgb(129, 110, 43)
HSLhsl(47, 50%, 34%)
HSVhsv(47, 67%, 51%)
CMYKcmyk(0%, 14.7%, 66.7%, 49.4%)
CIE-LABlab(46.97, -0.81, 39.01)
CIE-LCHlch(46.97, 39.02, 91.19°)
OKLaboklab(54.26% -0.0052 0.0889)
OKLCHoklch(54.26% 0.089 93.3)
XYZxyz(15.0660, 15.9942, 4.5787)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E2B #2B3E81
analogous
#81432B #816E2B #69812B
triadic
#816E2B #2B816E #6E2B81
tetradic
#816E2B #2B8143 #2B3E81 #812B69
square
#816E2B #2B8143 #2B3E81 #812B69
split-complementary
#816E2B #2B6981 #432B81
monochromatic
#25200C #53471C #816E2B #AF953A #C9B15D

Accessibility & contrast

On white

5.00
#816E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#816E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816E2B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816E2B#FFFFFF#000000##FFFFFF
##816E2B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C23
Deuteranopia (green-blind)
#7E722E
Tritanopia (blue-blind)
#8B6560
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e2b;
/* rgb */ color: rgb(129, 110, 43);
/* oklch */ color: oklch(54.3% 0.089 93.3);
Tailwind
colors: {
  custom: {
    50: '#a89768',
    500: '#816e2b',
    950: '#000000',
  },
}
SCSS
$custom: #816e2b;
$custom-light: #a89768;
$custom-dark: #000000;
JSON
{
  "hex": "#816e2b",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 46.744,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.08906,
    "h": 93.3
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#816E2B
secondary
#596CAF
accent
#6DDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #816E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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