#816D13#816D13

#816D13 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.104 H 95.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#816D13
RGBrgb(129, 109, 19)
HSLhsl(49, 74%, 29%)
HSVhsv(49, 85%, 51%)
CMYKcmyk(0%, 15.5%, 85.3%, 49.4%)
CIE-LABlab(46.52, -1.44, 48.29)
CIE-LCHlch(46.52, 48.31, 91.70°)
OKLaboklab(53.85% -0.0097 0.1038)
OKLCHoklch(53.85% 0.104 95.3)
XYZxyz(14.6403, 15.6523, 2.8660)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D13 #132781
analogous
#813613 #816D13 #5E8113
triadic
#816D13 #13816D #6D1381
tetradic
#816D13 #138136 #132781 #81135E
square
#816D13 #138136 #132781 #81135E
split-complementary
#816D13 #135E81 #361381
monochromatic
#1B1704 #4C400B #816D13 #B69A1B #E0C02E

Accessibility & contrast

On white

5.08
#816D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#816D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816D13
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816D13#FFFFFF#000000##FFFFFF
##816D131.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7F711A
Tritanopia (blue-blind)
#8C635D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816d13;
/* rgb */ color: rgb(129, 109, 19);
/* oklch */ color: oklch(53.8% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#aa965b',
    500: '#816d13',
    950: '#000000',
  },
}
SCSS
$custom: #816d13;
$custom-light: #aa965b;
$custom-dark: #000000;
JSON
{
  "hex": "#816d13",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 19
  },
  "hsl": {
    "h": 49.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.10426,
    "h": 95.3
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#816D13
secondary
#3A50B6
accent
#59F137
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816D13

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

Preview Lab → · Contrast checker → · Palette generator →

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