#816F1F#816F1F

#816F1F is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.4% C 0.099 H 96.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#816F1F
RGBrgb(129, 111, 31)
HSLhsl(49, 61%, 31%)
HSVhsv(49, 76%, 51%)
CMYKcmyk(0%, 14%, 76%, 49.4%)
CIE-LABlab(47.15, -2.09, 44.57)
CIE-LCHlch(47.15, 44.61, 92.69°)
OKLaboklab(54.37% -0.0103 0.0984)
OKLCHoklch(54.37% 0.099 96)
XYZxyz(14.9858, 16.1357, 3.6212)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F1F #1F3181
analogous
#813E1F #816F1F #62811F
triadic
#816F1F #1F816F #6F1F81
tetradic
#816F1F #1F813E #1F3181 #811F62
square
#816F1F #1F813E #1F3181 #811F62
split-complementary
#816F1F #1F6281 #3E1F81
monochromatic
#1E1A07 #504513 #816F1F #B2992B #D3B947

Accessibility & contrast

On white

4.97
#816F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#816F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816F1F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816F1F#FFFFFF#000000##FFFFFF
##816F1F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#8C665F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f1f;
/* rgb */ color: rgb(129, 111, 31);
/* oklch */ color: oklch(54.4% 0.099 96.0);
Tailwind
colors: {
  custom: {
    50: '#a99861',
    500: '#816f1f',
    950: '#000000',
  },
}
SCSS
$custom: #816f1f;
$custom-light: #a99861;
$custom-dark: #000000;
JSON
{
  "hex": "#816f1f",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 48.98,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.09896,
    "h": 96
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#816F1F
secondary
#485CB4
accent
#61E443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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