#816B17#816B17

#816B17 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.4% C 0.101 H 93.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#816B17
RGBrgb(129, 107, 23)
HSLhsl(48, 70%, 30%)
HSVhsv(48, 82%, 51%)
CMYKcmyk(0%, 17.1%, 82.2%, 49.4%)
CIE-LABlab(45.97, -0.15, 46.50)
CIE-LCHlch(45.97, 46.50, 90.18°)
OKLaboklab(53.42% -0.0057 0.1008)
OKLCHoklch(53.42% 0.101 93.2)
XYZxyz(14.4664, 15.2453, 2.9911)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816B17 #172D81
analogous
#813617 #816B17 #628117
triadic
#816B17 #17816B #6B1781
tetradic
#816B17 #178136 #172D81 #811762
square
#816B17 #178136 #172D81 #811762
split-complementary
#816B17 #176281 #361781
monochromatic
#1A1605 #4D400E #816B17 #B59620 #DBB937

Accessibility & contrast

On white

5.19
#816B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#816B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816B17
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816B17#FFFFFF#000000##FFFFFF
##816B171.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786904
Deuteranopia (green-blind)
#7D701D
Tritanopia (blue-blind)
#8C625B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #816b17;
/* rgb */ color: rgb(129, 107, 23);
/* oklch */ color: oklch(53.4% 0.101 93.2);
Tailwind
colors: {
  custom: {
    50: '#a9955c',
    500: '#816b17',
    950: '#000000',
  },
}
SCSS
$custom: #816b17;
$custom-light: #a9955c;
$custom-dark: #000000;
JSON
{
  "hex": "#816b17",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 47.547,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.10097,
    "h": 93.2
  },
  "luminance": 0.15244
}

Semantic roles & 50–950 ramp

primary
#816B17
secondary
#3E57B5
accent
#60ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816B17

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

Preview Lab → · Contrast checker → · Palette generator →

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