#816C16#816C16

#816C16 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.6% C 0.102 H 94.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#816C16
RGBrgb(129, 108, 22)
HSLhsl(48, 71%, 30%)
HSVhsv(48, 83%, 51%)
CMYKcmyk(0%, 16.3%, 82.9%, 49.4%)
CIE-LABlab(46.25, -0.76, 47.09)
CIE-LCHlch(46.25, 47.09, 90.92°)
OKLaboklab(53.64% -0.0075 0.1019)
OKLCHoklch(53.64% 0.102 94.2)
XYZxyz(14.5615, 15.4510, 2.9743)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816C16 #162B81
analogous
#813616 #816C16 #618116
triadic
#816C16 #16816C #6C1681
tetradic
#816C16 #168136 #162B81 #811661
square
#816C16 #168136 #162B81 #811661
split-complementary
#816C16 #166181 #361681
monochromatic
#1A1604 #4D400D #816C16 #B5981F #DDBC35

Accessibility & contrast

On white

5.13
#816C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#816C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816C16
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816C16#FFFFFF#000000##FFFFFF
##816C161.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#7E701C
Tritanopia (blue-blind)
#8C635C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816c16;
/* rgb */ color: rgb(129, 108, 22);
/* oklch */ color: oklch(53.6% 0.102 94.2);
Tailwind
colors: {
  custom: {
    50: '#a9955c',
    500: '#816c16',
    950: '#000000',
  },
}
SCSS
$custom: #816c16;
$custom-light: #a9955c;
$custom-dark: #000000;
JSON
{
  "hex": "#816c16",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 48.224,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5364,
    "c": 0.10214,
    "h": 94.2
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#816C16
secondary
#3D55B6
accent
#5DEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816C16

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

Preview Lab → · Contrast checker → · Palette generator →

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