#816D19#816D19

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

Color values

HEX#816D19
RGBrgb(129, 109, 25)
HSLhsl(48, 68%, 30%)
HSVhsv(48, 81%, 51%)
CMYKcmyk(0%, 15.5%, 80.6%, 49.4%)
CIE-LABlab(46.55, -1.22, 46.30)
CIE-LCHlch(46.55, 46.32, 91.50°)
OKLaboklab(53.88% -0.0085 0.1008)
OKLCHoklch(53.88% 0.101 94.8)
XYZxyz(14.6982, 15.6754, 3.1710)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D19 #192D81
analogous
#813919 #816D19 #618119
triadic
#816D19 #19816D #6D1981
tetradic
#816D19 #198139 #192D81 #811961
square
#816D19 #198139 #192D81 #811961
split-complementary
#816D19 #196181 #391981
monochromatic
#1A1605 #4E420F #816D19 #B49823 #D9BB3B

Accessibility & contrast

On white

5.08
#816D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #816D19
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816D19#FFFFFF#000000##FFFFFF
##816D191.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B07
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#8C645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #816d19;
/* rgb */ color: rgb(129, 109, 25);
/* oklch */ color: oklch(53.9% 0.101 94.8);
Tailwind
colors: {
  custom: {
    50: '#a9965d',
    500: '#816d19',
    950: '#000000',
  },
}
SCSS
$custom: #816d19;
$custom-light: #a9965d;
$custom-dark: #000000;
JSON
{
  "hex": "#816d19",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 48.462,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.1012,
    "h": 94.8
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#816D19
secondary
#4157B5
accent
#5FEA3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816D19

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

Preview Lab → · Contrast checker → · Palette generator →

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