#816C15#816C15

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

Color values

HEX#816C15
RGBrgb(129, 108, 21)
HSLhsl(48, 72%, 29%)
HSVhsv(48, 84%, 51%)
CMYKcmyk(0%, 16.3%, 83.7%, 49.4%)
CIE-LABlab(46.24, -0.80, 47.42)
CIE-LCHlch(46.24, 47.42, 90.96°)
OKLaboklab(53.63% -0.0077 0.1024)
OKLCHoklch(53.63% 0.103 94.3)
XYZxyz(14.5520, 15.4473, 2.9245)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816C15 #152A81
analogous
#813615 #816C15 #608115
triadic
#816C15 #15816C #6C1581
tetradic
#816C15 #158136 #152A81 #811560
square
#816C15 #158136 #152A81 #811560
split-complementary
#816C15 #156081 #361581
monochromatic
#1A1604 #4C400C #816C15 #B6981E #DEBC33

Accessibility & contrast

On white

5.14
#816C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #816C15
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816C15#FFFFFF#000000##FFFFFF
##816C151.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #816c15;
/* rgb */ color: rgb(129, 108, 21);
/* oklch */ color: oklch(53.6% 0.103 94.3);
Tailwind
colors: {
  custom: {
    50: '#a9955b',
    500: '#816c15',
    950: '#000000',
  },
}
SCSS
$custom: #816c15;
$custom-light: #a9955b;
$custom-dark: #000000;
JSON
{
  "hex": "#816c15",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 48.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.10264,
    "h": 94.3
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#816C15
secondary
#3C54B6
accent
#5CEF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816C15

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

Preview Lab → · Contrast checker → · Palette generator →

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