#816F14#816F14

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

Color values

HEX#816F14
RGBrgb(129, 111, 20)
HSLhsl(50, 73%, 29%)
HSVhsv(50, 84%, 51%)
CMYKcmyk(0%, 14%, 84.5%, 49.4%)
CIE-LABlab(47.09, -2.55, 48.48)
CIE-LCHlch(47.09, 48.54, 93.01°)
OKLaboklab(54.3% -0.0127 0.1044)
OKLCHoklch(54.3% 0.105 97)
XYZxyz(14.8648, 16.0873, 2.9839)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F14 #142681
analogous
#813914 #816F14 #5D8114
triadic
#816F14 #14816F #6F1481
tetradic
#816F14 #148139 #142681 #81145D
square
#816F14 #148139 #142681 #81145D
split-complementary
#816F14 #145D81 #391481
monochromatic
#1A1704 #4C410C #816F14 #B69D1C #DFC230

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816F14#FFFFFF#000000##FFFFFF
##816F141.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)
#80721B
Tritanopia (blue-blind)
#8C665E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f14;
/* rgb */ color: rgb(129, 111, 20);
/* oklch */ color: oklch(54.3% 0.105 97.0);
Tailwind
colors: {
  custom: {
    50: '#a9985b',
    500: '#816f14',
    950: '#000000',
  },
}
SCSS
$custom: #816f14;
$custom-light: #a9985b;
$custom-dark: #000000;
JSON
{
  "hex": "#816f14",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 50.092,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.1052,
    "h": 97
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#816F14
secondary
#3B4FB6
accent
#56F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816F14

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

Preview Lab → · Contrast checker → · Palette generator →

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