#816B16#816B16

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

Color values

HEX#816B16
RGBrgb(129, 107, 22)
HSLhsl(48, 71%, 30%)
HSVhsv(48, 83%, 51%)
CMYKcmyk(0%, 17.1%, 82.9%, 49.4%)
CIE-LABlab(45.96, -0.18, 46.84)
CIE-LCHlch(45.96, 46.84, 90.22°)
OKLaboklab(53.42% -0.0059 0.1013)
OKLCHoklch(53.42% 0.101 93.3)
XYZxyz(14.4566, 15.2413, 2.9393)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816B16 #162C81
analogous
#813616 #816B16 #618116
triadic
#816B16 #16816B #6B1681
tetradic
#816B16 #168136 #162C81 #811661
square
#816B16 #168136 #162C81 #811661
split-complementary
#816B16 #166181 #361681
monochromatic
#1A1604 #4D400D #816B16 #B5961F #DDBA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816B16#FFFFFF#000000##FFFFFF
##816B161.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)
#786902
Deuteranopia (green-blind)
#7D701C
Tritanopia (blue-blind)
#8C615B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #816b16;
/* rgb */ color: rgb(129, 107, 22);
/* oklch */ color: oklch(53.4% 0.101 93.3);
Tailwind
colors: {
  custom: {
    50: '#a9955c',
    500: '#816b16',
    950: '#000000',
  },
}
SCSS
$custom: #816b16;
$custom-light: #a9955c;
$custom-dark: #000000;
JSON
{
  "hex": "#816b16",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 47.664,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.10149,
    "h": 93.3
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#816B16
secondary
#3D56B6
accent
#5FEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816B16

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

Preview Lab → · Contrast checker → · Palette generator →

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