#816C17#816C17

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

Color values

HEX#816C17
RGBrgb(129, 108, 23)
HSLhsl(48, 70%, 30%)
HSVhsv(48, 82%, 51%)
CMYKcmyk(0%, 16.3%, 82.2%, 49.4%)
CIE-LABlab(46.25, -0.72, 46.75)
CIE-LCHlch(46.25, 46.75, 90.88°)
OKLaboklab(53.65% -0.0073 0.1014)
OKLCHoklch(53.65% 0.102 94.1)
XYZxyz(14.5713, 15.4550, 3.0261)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816C17 #172C81
analogous
#813717 #816C17 #618117
triadic
#816C17 #17816C #6C1781
tetradic
#816C17 #178137 #172C81 #811761
square
#816C17 #178137 #172C81 #811761
split-complementary
#816C17 #176181 #371781
monochromatic
#1A1605 #4D410E #816C17 #B59720 #DBBB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816C17#FFFFFF#000000##FFFFFF
##816C171.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)
#796A03
Deuteranopia (green-blind)
#7E701D
Tritanopia (blue-blind)
#8C635C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816c17;
/* rgb */ color: rgb(129, 108, 23);
/* oklch */ color: oklch(53.6% 0.102 94.1);
Tailwind
colors: {
  custom: {
    50: '#a9955c',
    500: '#816c17',
    950: '#000000',
  },
}
SCSS
$custom: #816c17;
$custom-light: #a9955c;
$custom-dark: #000000;
JSON
{
  "hex": "#816c17",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 48.113,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.10162,
    "h": 94.1
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#816C17
secondary
#3E56B5
accent
#5EED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816C17

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

Preview Lab → · Contrast checker → · Palette generator →

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