#816A15#816A15

#816A15 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.2% C 0.101 H 92.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#816A15
RGBrgb(129, 106, 21)
HSLhsl(47, 72%, 29%)
HSVhsv(47, 84%, 51%)
CMYKcmyk(0%, 17.8%, 83.7%, 49.4%)
CIE-LABlab(45.68, 0.36, 46.92)
CIE-LCHlch(45.68, 46.92, 89.56°)
OKLaboklab(53.19% -0.0044 0.1013)
OKLCHoklch(53.19% 0.101 92.5)
XYZxyz(14.3435, 15.0302, 2.8550)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816A15 #152C81
analogous
#813415 #816A15 #628115
triadic
#816A15 #15816A #6A1581
tetradic
#816A15 #158134 #152C81 #811562
square
#816A15 #158134 #152C81 #811562
split-complementary
#816A15 #156281 #341581
monochromatic
#1A1604 #4C3F0C #816A15 #B6951E #DEB933

Accessibility & contrast

On white

5.24
#816A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#816A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816A15
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816A15#FFFFFF#000000##FFFFFF
##816A151.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#7C6F1B
Tritanopia (blue-blind)
#8C605A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #816a15;
/* rgb */ color: rgb(129, 106, 21);
/* oklch */ color: oklch(53.2% 0.101 92.5);
Tailwind
colors: {
  custom: {
    50: '#aa945b',
    500: '#816a15',
    950: '#000000',
  },
}
SCSS
$custom: #816a15;
$custom-light: #aa945b;
$custom-dark: #000000;
JSON
{
  "hex": "#816a15",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 47.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53188,
    "c": 0.10138,
    "h": 92.5
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#816A15
secondary
#3C56B6
accent
#60EF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816A15

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

Preview Lab → · Contrast checker → · Palette generator →

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