#816D20#816D20

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

Color values

HEX#816D20
RGBrgb(129, 109, 32)
HSLhsl(48, 60%, 32%)
HSVhsv(48, 75%, 51%)
CMYKcmyk(0%, 15.5%, 75.2%, 49.4%)
CIE-LABlab(46.59, -0.89, 43.61)
CIE-LCHlch(46.59, 43.62, 91.17°)
OKLaboklab(53.93% -0.0068 0.0966)
OKLCHoklch(53.93% 0.097 94)
XYZxyz(14.7834, 15.7095, 3.6198)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D20 #203481
analogous
#813D20 #816D20 #658120
triadic
#816D20 #20816D #6D2081
tetradic
#816D20 #20813D #203481 #812065
square
#816D20 #20813D #203481 #812065
split-complementary
#816D20 #206581 #3D2081
monochromatic
#1F1A08 #504414 #816D20 #B2962C #D2B649

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816D20#FFFFFF#000000##FFFFFF
##816D201.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)
#796B14
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#8C645E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816d20;
/* rgb */ color: rgb(129, 109, 32);
/* oklch */ color: oklch(53.9% 0.097 94.0);
Tailwind
colors: {
  custom: {
    50: '#a99661',
    500: '#816d20',
    950: '#000000',
  },
}
SCSS
$custom: #816d20;
$custom-light: #a99661;
$custom-dark: #000000;
JSON
{
  "hex": "#816d20",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 47.629,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.09684,
    "h": 94
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#816D20
secondary
#495FB4
accent
#65E344
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816D20

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

Preview Lab → · Contrast checker → · Palette generator →

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