#816D15#816D15

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

Color values

HEX#816D15
RGBrgb(129, 109, 21)
HSLhsl(49, 72%, 29%)
HSVhsv(49, 84%, 51%)
CMYKcmyk(0%, 15.5%, 83.7%, 49.4%)
CIE-LABlab(46.52, -1.37, 47.67)
CIE-LCHlch(46.52, 47.69, 91.65°)
OKLaboklab(53.86% -0.0093 0.1029)
OKLCHoklch(53.86% 0.103 95.2)
XYZxyz(14.6581, 15.6594, 2.9598)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816D15 #152981
analogous
#813715 #816D15 #5F8115
triadic
#816D15 #15816D #6D1581
tetradic
#816D15 #158137 #152981 #81155F
square
#816D15 #158137 #152981 #81155F
split-complementary
#816D15 #155F81 #371581
monochromatic
#1A1604 #4C410C #816D15 #B6991E #DEBE33

Accessibility & contrast

On white

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

On black

4.13
#816D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##816D15#FFFFFF#000000##FFFFFF
##816D151.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #816d15;
/* rgb */ color: rgb(129, 109, 21);
/* oklch */ color: oklch(53.9% 0.103 95.2);
Tailwind
colors: {
  custom: {
    50: '#a9965c',
    500: '#816d15',
    950: '#000000',
  },
}
SCSS
$custom: #816d15;
$custom-light: #a9965c;
$custom-dark: #000000;
JSON
{
  "hex": "#816d15",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 48.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.10331,
    "h": 95.2
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#816D15
secondary
#3C53B6
accent
#5BEF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816D15

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

Preview Lab → · Contrast checker → · Palette generator →

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