#816E16#816E16

#816E16 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.104 H 96.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#816E16
RGBrgb(129, 110, 22)
HSLhsl(49, 71%, 30%)
HSVhsv(49, 83%, 51%)
CMYKcmyk(0%, 14.7%, 82.9%, 49.4%)
CIE-LABlab(46.81, -1.91, 47.59)
CIE-LCHlch(46.81, 47.63, 92.29°)
OKLaboklab(54.09% -0.0107 0.103)
OKLCHoklch(54.09% 0.104 96)
XYZxyz(14.7748, 15.8778, 3.0454)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E16 #162981
analogous
#813916 #816E16 #5F8116
triadic
#816E16 #16816E #6E1681
tetradic
#816E16 #168139 #162981 #81165F
square
#816E16 #168139 #162981 #81165F
split-complementary
#816E16 #165F81 #391681
monochromatic
#1A1604 #4D410D #816E16 #B59B1F #DDBF35

Accessibility & contrast

On white

5.03
#816E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#816E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816E16
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816E16#FFFFFF#000000##FFFFFF
##816E161.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C00
Deuteranopia (green-blind)
#7F721C
Tritanopia (blue-blind)
#8C655E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e16;
/* rgb */ color: rgb(129, 110, 22);
/* oklch */ color: oklch(54.1% 0.104 96.0);
Tailwind
colors: {
  custom: {
    50: '#a9975c',
    500: '#816e16',
    950: '#000000',
  },
}
SCSS
$custom: #816e16;
$custom-light: #a9975c;
$custom-dark: #000000;
JSON
{
  "hex": "#816e16",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 49.346,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.10351,
    "h": 96
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#816E16
secondary
#3D53B6
accent
#5AEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816E16

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

Preview Lab → · Contrast checker → · Palette generator →

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