#816F2C#816F2C

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

Color values

HEX#816F2C
RGBrgb(129, 111, 44)
HSLhsl(47, 49%, 34%)
HSVhsv(47, 66%, 51%)
CMYKcmyk(0%, 14%, 65.9%, 49.4%)
CIE-LABlab(47.26, -1.32, 38.85)
CIE-LCHlch(47.26, 38.87, 91.94°)
OKLaboklab(54.49% -0.0065 0.0887)
OKLCHoklch(54.49% 0.089 94.2)
XYZxyz(15.1930, 16.2186, 4.7126)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F2C #2C3E81
analogous
#81452C #816F2C #69812C
triadic
#816F2C #2C816F #6F2C81
tetradic
#816F2C #2C8145 #2C3E81 #812C69
square
#816F2C #2C8145 #2C3E81 #812C69
split-complementary
#816F2C #2C6981 #452C81
monochromatic
#26200D #53481C #816F2C #AF963C #C8B25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816F2C#FFFFFF#000000##FFFFFF
##816F2C1.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)
#7A6D24
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#8B6761
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f2c;
/* rgb */ color: rgb(129, 111, 44);
/* oklch */ color: oklch(54.5% 0.089 94.2);
Tailwind
colors: {
  custom: {
    50: '#a89868',
    500: '#816f2c',
    950: '#000000',
  },
}
SCSS
$custom: #816f2c;
$custom-light: #a89868;
$custom-dark: #000000;
JSON
{
  "hex": "#816f2c",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 47.294,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.08895,
    "h": 94.2
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#816F2C
secondary
#5A6CAF
accent
#6CD94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #816F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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