#816E20#816E20

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

Color values

HEX#816E20
RGBrgb(129, 110, 32)
HSLhsl(48, 60%, 32%)
HSVhsv(48, 75%, 51%)
CMYKcmyk(0%, 14.7%, 75.2%, 49.4%)
CIE-LABlab(46.87, -1.47, 43.88)
CIE-LCHlch(46.87, 43.91, 91.92°)
OKLaboklab(54.16% -0.0084 0.0972)
OKLCHoklch(54.16% 0.098 95)
XYZxyz(14.8907, 15.9241, 3.6556)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E20 #203381
analogous
#813E20 #816E20 #648120
triadic
#816E20 #20816E #6E2081
tetradic
#816E20 #20813E #203381 #812064
square
#816E20 #20813E #203381 #812064
split-complementary
#816E20 #206481 #3E2081
monochromatic
#1F1A08 #504414 #816E20 #B2982C #D2B749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816E20#FFFFFF#000000##FFFFFF
##816E201.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #816e20;
/* rgb */ color: rgb(129, 110, 32);
/* oklch */ color: oklch(54.2% 0.098 95.0);
Tailwind
colors: {
  custom: {
    50: '#a99761',
    500: '#816e20',
    950: '#000000',
  },
}
SCSS
$custom: #816e20;
$custom-light: #a99761;
$custom-dark: #000000;
JSON
{
  "hex": "#816e20",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 48.247,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.09755,
    "h": 95
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#816E20
secondary
#495EB4
accent
#64E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816E20

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

Preview Lab → · Contrast checker → · Palette generator →

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