#816D14#816D14

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

Color values

HEX#816D14
RGBrgb(129, 109, 20)
HSLhsl(49, 73%, 29%)
HSVhsv(49, 84%, 51%)
CMYKcmyk(0%, 15.5%, 84.5%, 49.4%)
CIE-LABlab(46.52, -1.40, 47.98)
CIE-LCHlch(46.52, 48.00, 91.68°)
OKLaboklab(53.85% -0.0095 0.1034)
OKLCHoklch(53.85% 0.104 95.3)
XYZxyz(14.6490, 15.6558, 2.9120)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D14 #142881
analogous
#813714 #816D14 #5F8114
triadic
#816D14 #14816D #6D1481
tetradic
#816D14 #148137 #142881 #81145F
square
#816D14 #148137 #142881 #81145F
split-complementary
#816D14 #145F81 #371481
monochromatic
#1A1604 #4C400C #816D14 #B69A1C #DFBF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816D14#FFFFFF#000000##FFFFFF
##816D141.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)
#7F711B
Tritanopia (blue-blind)
#8C645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816d14;
/* rgb */ color: rgb(129, 109, 20);
/* oklch */ color: oklch(53.9% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#a9965b',
    500: '#816d14',
    950: '#000000',
  },
}
SCSS
$custom: #816d14;
$custom-light: #a9965b;
$custom-dark: #000000;
JSON
{
  "hex": "#816d14",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 48.991,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.1038,
    "h": 95.3
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#816D14
secondary
#3B51B6
accent
#5AF038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816D14

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

Preview Lab → · Contrast checker → · Palette generator →

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