#816D16#816D16

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

Color values

HEX#816D16
RGBrgb(129, 109, 22)
HSLhsl(49, 71%, 30%)
HSVhsv(49, 83%, 51%)
CMYKcmyk(0%, 15.5%, 82.9%, 49.4%)
CIE-LABlab(46.53, -1.33, 47.34)
CIE-LCHlch(46.53, 47.36, 91.61°)
OKLaboklab(53.86% -0.0091 0.1024)
OKLCHoklch(53.86% 0.103 95.1)
XYZxyz(14.6675, 15.6632, 3.0096)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D16 #162A81
analogous
#813816 #816D16 #608116
triadic
#816D16 #16816D #6D1681
tetradic
#816D16 #168138 #162A81 #811660
square
#816D16 #168138 #162A81 #811660
split-complementary
#816D16 #166081 #381681
monochromatic
#1A1604 #4D410D #816D16 #B5991F #DDBD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816D16#FFFFFF#000000##FFFFFF
##816D161.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)
#796B01
Deuteranopia (green-blind)
#7E711C
Tritanopia (blue-blind)
#8C645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816d16;
/* rgb */ color: rgb(129, 109, 22);
/* oklch */ color: oklch(53.9% 0.103 95.1);
Tailwind
colors: {
  custom: {
    50: '#a9965c',
    500: '#816d16',
    950: '#000000',
  },
}
SCSS
$custom: #816d16;
$custom-light: #a9965c;
$custom-dark: #000000;
JSON
{
  "hex": "#816d16",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 48.785,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.10281,
    "h": 95.1
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#816D16
secondary
#3D54B6
accent
#5CEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816D16

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

Preview Lab → · Contrast checker → · Palette generator →

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