#816A16#816A16

#816A16 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.2% C 0.101 H 92.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#816A16
RGBrgb(129, 106, 22)
HSLhsl(47, 71%, 30%)
HSVhsv(47, 83%, 51%)
CMYKcmyk(0%, 17.8%, 82.9%, 49.4%)
CIE-LABlab(45.68, 0.39, 46.59)
CIE-LCHlch(45.68, 46.59, 89.52°)
OKLaboklab(53.19% -0.0042 0.1008)
OKLCHoklch(53.19% 0.101 92.4)
XYZxyz(14.3530, 15.0340, 2.9048)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816A16 #162D81
analogous
#813516 #816A16 #638116
triadic
#816A16 #16816A #6A1681
tetradic
#816A16 #168135 #162D81 #811663
square
#816A16 #168135 #162D81 #811663
split-complementary
#816A16 #166381 #351681
monochromatic
#1A1504 #4D3F0D #816A16 #B5951F #DDB835

Accessibility & contrast

On white

5.24
#816A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#816A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816A16
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816A16#FFFFFF#000000##FFFFFF
##816A161.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#8C605A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #816a16;
/* rgb */ color: rgb(129, 106, 22);
/* oklch */ color: oklch(53.2% 0.101 92.4);
Tailwind
colors: {
  custom: {
    50: '#a9945c',
    500: '#816a16',
    950: '#000000',
  },
}
SCSS
$custom: #816a16;
$custom-light: #a9945c;
$custom-dark: #000000;
JSON
{
  "hex": "#816a16",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 47.103,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.10087,
    "h": 92.4
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#816A16
secondary
#3D57B6
accent
#61EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816A16

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

Preview Lab → · Contrast checker → · Palette generator →

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