#816E22#816E22

#816E22 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.2% C 0.096 H 94.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#816E22
RGBrgb(129, 110, 34)
HSLhsl(48, 58%, 32%)
HSVhsv(48, 74%, 51%)
CMYKcmyk(0%, 14.7%, 73.6%, 49.4%)
CIE-LABlab(46.89, -1.36, 43.05)
CIE-LCHlch(46.89, 43.08, 91.81°)
OKLaboklab(54.17% -0.0079 0.0958)
OKLCHoklch(54.17% 0.096 94.7)
XYZxyz(14.9187, 15.9353, 3.8031)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E22 #223581
analogous
#813F22 #816E22 #658122
triadic
#816E22 #22816E #6E2281
tetradic
#816E22 #22813F #223581 #812265
square
#816E22 #22813F #223581 #812265
split-complementary
#816E22 #226581 #3F2281
monochromatic
#201B08 #514515 #816E22 #B1972F #D0B64D

Accessibility & contrast

On white

5.02
#816E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#816E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816E22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816E22#FFFFFF#000000##FFFFFF
##816E221.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C17
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#8C655F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e22;
/* rgb */ color: rgb(129, 110, 34);
/* oklch */ color: oklch(54.2% 0.096 94.7);
Tailwind
colors: {
  custom: {
    50: '#a99762',
    500: '#816e22',
    950: '#000000',
  },
}
SCSS
$custom: #816e22;
$custom-light: #a99762;
$custom-dark: #000000;
JSON
{
  "hex": "#816e22",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 48,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54173,
    "c": 0.09615,
    "h": 94.7
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

primary
#816E22
secondary
#4B60B3
accent
#65E146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #816E22

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

Preview Lab → · Contrast checker → · Palette generator →

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