#816F13#816F13

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

Color values

HEX#816F13
RGBrgb(129, 111, 19)
HSLhsl(50, 74%, 29%)
HSVhsv(50, 85%, 51%)
CMYKcmyk(0%, 14%, 85.3%, 49.4%)
CIE-LABlab(47.08, -2.58, 48.78)
CIE-LCHlch(47.08, 48.85, 93.03°)
OKLaboklab(54.3% -0.0129 0.1049)
OKLCHoklch(54.3% 0.106 97)
XYZxyz(14.8561, 16.0838, 2.9380)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F13 #132581
analogous
#813813 #816F13 #5C8113
triadic
#816F13 #13816F #6F1381
tetradic
#816F13 #138138 #132581 #81135C
square
#816F13 #138138 #132581 #81135C
split-complementary
#816F13 #135C81 #381381
monochromatic
#1B1704 #4C410B #816F13 #B69D1B #E0C32E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #816f13;
/* rgb */ color: rgb(129, 111, 19);
/* oklch */ color: oklch(54.3% 0.106 97.0);
Tailwind
colors: {
  custom: {
    50: '#a9975b',
    500: '#816f13',
    950: '#000000',
  },
}
SCSS
$custom: #816f13;
$custom-light: #a9975b;
$custom-dark: #000000;
JSON
{
  "hex": "#816f13",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 50.182,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.10566,
    "h": 97
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#816F13
secondary
#3A4EB6
accent
#55F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816F13

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

Preview Lab → · Contrast checker → · Palette generator →

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