#816815#816815

#816815 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.7% C 0.100 H 90.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#816815
RGBrgb(129, 104, 21)
HSLhsl(46, 72%, 29%)
HSVhsv(46, 84%, 51%)
CMYKcmyk(0%, 19.4%, 83.7%, 49.4%)
CIE-LABlab(45.11, 1.52, 46.43)
CIE-LCHlch(45.11, 46.45, 88.13°)
OKLaboklab(52.74% -0.0011 0.1002)
OKLCHoklch(52.74% 0.1 90.6)
XYZxyz(14.1398, 14.6228, 2.7871)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816815 #152E81
analogous
#813215 #816815 #648115
triadic
#816815 #158168 #681581
tetradic
#816815 #158132 #152E81 #811564
square
#816815 #158132 #152E81 #811564
split-complementary
#816815 #156481 #321581
monochromatic
#1A1504 #4C3E0C #816815 #B6921E #DEB633

Accessibility & contrast

On white

5.35
#816815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#816815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816815
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816815#FFFFFF#000000##FFFFFF
##8168151.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#7B6E1A
Tritanopia (blue-blind)
#8C5E59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #816815;
/* rgb */ color: rgb(129, 104, 21);
/* oklch */ color: oklch(52.7% 0.100 90.6);
Tailwind
colors: {
  custom: {
    50: '#aa925b',
    500: '#816815',
    950: '#000000',
  },
}
SCSS
$custom: #816815;
$custom-light: #aa925b;
$custom-dark: #000000;
JSON
{
  "hex": "#816815",
  "rgb": {
    "r": 129,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 46.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52744,
    "c": 0.10021,
    "h": 90.6
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#816815
secondary
#3C58B6
accent
#63EF39
background
#FAF8F5
surface
#F5F0E9
border
#CFCBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #816815

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

Preview Lab → · Contrast checker → · Palette generator →

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