#816E15#816E15

#816E15 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.104 H 96.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#816E15
RGBrgb(129, 110, 21)
HSLhsl(49, 72%, 29%)
HSVhsv(49, 84%, 51%)
CMYKcmyk(0%, 14.7%, 83.7%, 49.4%)
CIE-LABlab(46.81, -1.94, 47.91)
CIE-LCHlch(46.81, 47.95, 92.32°)
OKLaboklab(54.08% -0.0109 0.1034)
OKLCHoklch(54.08% 0.104 96)
XYZxyz(14.7654, 15.8740, 2.9956)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E15 #152881
analogous
#813815 #816E15 #5E8115
triadic
#816E15 #15816E #6E1581
tetradic
#816E15 #158138 #152881 #81155E
square
#816E15 #158138 #152881 #81155E
split-complementary
#816E15 #155E81 #381581
monochromatic
#1A1604 #4C410C #816E15 #B69B1E #DEC033

Accessibility & contrast

On white

5.03
#816E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#816E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816E15
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816E15#FFFFFF#000000##FFFFFF
##816E151.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7F721C
Tritanopia (blue-blind)
#8C655E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e15;
/* rgb */ color: rgb(129, 110, 21);
/* oklch */ color: oklch(54.1% 0.104 96.0);
Tailwind
colors: {
  custom: {
    50: '#a9975c',
    500: '#816e15',
    950: '#000000',
  },
}
SCSS
$custom: #816e15;
$custom-light: #a9975c;
$custom-dark: #000000;
JSON
{
  "hex": "#816e15",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 49.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54084,
    "c": 0.10401,
    "h": 96
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#816E15
secondary
#3C51B6
accent
#59EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816E15

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

Preview Lab → · Contrast checker → · Palette generator →

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