#816D22#816D22

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

Color values

HEX#816D22
RGBrgb(129, 109, 34)
HSLhsl(47, 58%, 32%)
HSVhsv(47, 74%, 51%)
CMYKcmyk(0%, 15.5%, 73.6%, 49.4%)
CIE-LABlab(46.61, -0.79, 42.77)
CIE-LCHlch(46.61, 42.78, 91.06°)
OKLaboklab(53.95% -0.0062 0.0952)
OKLCHoklch(53.95% 0.095 93.8)
XYZxyz(14.8114, 15.7207, 3.7673)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D22 #223681
analogous
#813D22 #816D22 #668122
triadic
#816D22 #22816D #6D2281
tetradic
#816D22 #22813D #223681 #812266
square
#816D22 #22813D #223681 #812266
split-complementary
#816D22 #226681 #3D2281
monochromatic
#201B08 #514415 #816D22 #B1962F #D0B54D

Accessibility & contrast

On white

5.07
#816D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#816D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816D22
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816D22#FFFFFF#000000##FFFFFF
##816D221.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B17
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#8C645E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816d22;
/* rgb */ color: rgb(129, 109, 34);
/* oklch */ color: oklch(53.9% 0.095 93.8);
Tailwind
colors: {
  custom: {
    50: '#a99662',
    500: '#816d22',
    950: '#000000',
  },
}
SCSS
$custom: #816d22;
$custom-light: #a99662;
$custom-dark: #000000;
JSON
{
  "hex": "#816d22",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 47.368,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.09543,
    "h": 93.8
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#816D22
secondary
#4B61B3
accent
#67E146
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #816D22

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

Preview Lab → · Contrast checker → · Palette generator →

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