#816D30#816D30

#816D30 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.1% C 0.084 H 91.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#816D30
RGBrgb(129, 109, 48)
HSLhsl(45, 46%, 35%)
HSVhsv(45, 63%, 51%)
CMYKcmyk(0%, 15.5%, 62.8%, 49.4%)
CIE-LABlab(46.74, 0.13, 36.28)
CIE-LCHlch(46.74, 36.28, 89.80°)
OKLaboklab(54.09% -0.0018 0.0838)
OKLCHoklch(54.09% 0.084 91.2)
XYZxyz(15.0561, 15.8186, 5.0560)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D30 #304481
analogous
#814430 #816D30 #6D8130
triadic
#816D30 #30816D #6D3081
tetradic
#816D30 #308144 #304481 #81306D
square
#816D30 #308144 #304481 #81306D
split-complementary
#816D30 #306D81 #443081
monochromatic
#28220F #54471F #816D30 #AE9341 #C6AE66

Accessibility & contrast

On white

5.04
#816D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#816D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816D30
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816D30#FFFFFF#000000##FFFFFF
##816D301.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2A
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#8B6560
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816d30;
/* rgb */ color: rgb(129, 109, 48);
/* oklch */ color: oklch(54.1% 0.084 91.2);
Tailwind
colors: {
  custom: {
    50: '#a8966b',
    500: '#816d30',
    950: '#000000',
  },
}
SCSS
$custom: #816d30;
$custom-light: #a8966b;
$custom-dark: #000000;
JSON
{
  "hex": "#816d30",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 48
  },
  "hsl": {
    "h": 45.185,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.08385,
    "h": 91.2
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#816D30
secondary
#6073AD
accent
#73D552
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D07
muted
#7F7E7A

Preview Lab

Preview with #816D30

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

Preview Lab → · Contrast checker → · Palette generator →

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