#816B15#816B15

#816B15 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.4% C 0.102 H 93.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#816B15
RGBrgb(129, 107, 21)
HSLhsl(48, 72%, 29%)
HSVhsv(48, 84%, 51%)
CMYKcmyk(0%, 17.1%, 83.7%, 49.4%)
CIE-LABlab(45.96, -0.22, 47.17)
CIE-LCHlch(45.96, 47.17, 90.27°)
OKLaboklab(53.41% -0.0061 0.1018)
OKLCHoklch(53.41% 0.102 93.4)
XYZxyz(14.4472, 15.2375, 2.8895)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816B15 #152B81
analogous
#813515 #816B15 #618115
triadic
#816B15 #15816B #6B1581
tetradic
#816B15 #158135 #152B81 #811561
square
#816B15 #158135 #152B81 #811561
split-complementary
#816B15 #156181 #351581
monochromatic
#1A1604 #4C3F0C #816B15 #B6971E #DEBB33

Accessibility & contrast

On white

5.19
#816B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#816B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816B15
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816B15#FFFFFF#000000##FFFFFF
##816B151.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#7D701B
Tritanopia (blue-blind)
#8C615B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #816b15;
/* rgb */ color: rgb(129, 107, 21);
/* oklch */ color: oklch(53.4% 0.102 93.4);
Tailwind
colors: {
  custom: {
    50: '#a9955b',
    500: '#816b15',
    950: '#000000',
  },
}
SCSS
$custom: #816b15;
$custom-light: #a9955b;
$custom-dark: #000000;
JSON
{
  "hex": "#816b15",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 47.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.10199,
    "h": 93.4
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#816B15
secondary
#3C55B6
accent
#5EEF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816B15

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

Preview Lab → · Contrast checker → · Palette generator →

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