#816915#816915

#816915 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 53.0% C 0.101 H 91.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#816915
RGBrgb(129, 105, 21)
HSLhsl(47, 72%, 29%)
HSVhsv(47, 84%, 51%)
CMYKcmyk(0%, 18.6%, 83.7%, 49.4%)
CIE-LABlab(45.39, 0.94, 46.67)
CIE-LCHlch(45.39, 46.68, 88.85°)
OKLaboklab(52.97% -0.0028 0.1007)
OKLCHoklch(52.97% 0.101 91.6)
XYZxyz(14.2410, 14.8253, 2.8208)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816915 #152D81
analogous
#813315 #816915 #638115
triadic
#816915 #158169 #691581
tetradic
#816915 #158133 #152D81 #811563
square
#816915 #158133 #152D81 #811563
split-complementary
#816915 #156381 #331581
monochromatic
#1A1504 #4C3E0C #816915 #B6941E #DEB833

Accessibility & contrast

On white

5.30
#816915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#816915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816915
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816915#FFFFFF#000000##FFFFFF
##8169151.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#7C6E1B
Tritanopia (blue-blind)
#8C5F59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #816915;
/* rgb */ color: rgb(129, 105, 21);
/* oklch */ color: oklch(53.0% 0.101 91.6);
Tailwind
colors: {
  custom: {
    50: '#aa935b',
    500: '#816915',
    950: '#000000',
  },
}
SCSS
$custom: #816915;
$custom-light: #aa935b;
$custom-dark: #000000;
JSON
{
  "hex": "#816915",
  "rgb": {
    "r": 129,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 46.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.10078,
    "h": 91.6
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#816915
secondary
#3C57B6
accent
#61EF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816915

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

Preview Lab → · Contrast checker → · Palette generator →

#816915 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva