#816F15#816F15

#816F15 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.105 H 96.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#816F15
RGBrgb(129, 111, 21)
HSLhsl(50, 72%, 29%)
HSVhsv(50, 84%, 51%)
CMYKcmyk(0%, 14%, 83.7%, 49.4%)
CIE-LABlab(47.09, -2.51, 48.16)
CIE-LCHlch(47.09, 48.23, 92.99°)
OKLaboklab(54.31% -0.0126 0.104)
OKLCHoklch(54.31% 0.105 96.9)
XYZxyz(14.8739, 16.0910, 3.0318)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F15 #152781
analogous
#813915 #816F15 #5D8115
triadic
#816F15 #15816F #6F1581
tetradic
#816F15 #158139 #152781 #81155D
square
#816F15 #158139 #152781 #81155D
split-complementary
#816F15 #155D81 #391581
monochromatic
#1A1704 #4C420C #816F15 #B69C1E #DEC133

Accessibility & contrast

On white

4.98
#816F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#816F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816F15
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816F15#FFFFFF#000000##FFFFFF
##816F151.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#80721C
Tritanopia (blue-blind)
#8C665F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f15;
/* rgb */ color: rgb(129, 111, 21);
/* oklch */ color: oklch(54.3% 0.105 96.9);
Tailwind
colors: {
  custom: {
    50: '#a9985c',
    500: '#816f15',
    950: '#000000',
  },
}
SCSS
$custom: #816f15;
$custom-light: #a9985c;
$custom-dark: #000000;
JSON
{
  "hex": "#816f15",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 50,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.10473,
    "h": 96.9
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#816F15
secondary
#3C50B6
accent
#57EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816F15

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

Preview Lab → · Contrast checker → · Palette generator →

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