#816F16#816F16

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

Color values

HEX#816F16
RGBrgb(129, 111, 22)
HSLhsl(50, 71%, 30%)
HSVhsv(50, 83%, 51%)
CMYKcmyk(0%, 14%, 82.9%, 49.4%)
CIE-LABlab(47.10, -2.48, 47.84)
CIE-LCHlch(47.10, 47.91, 92.96°)
OKLaboklab(54.32% -0.0124 0.1035)
OKLCHoklch(54.32% 0.104 96.8)
XYZxyz(14.8833, 16.0948, 3.0816)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F16 #162881
analogous
#813A16 #816F16 #5D8116
triadic
#816F16 #16816F #6F1681
tetradic
#816F16 #16813A #162881 #81165D
square
#816F16 #16813A #162881 #81165D
split-complementary
#816F16 #165D81 #3A1681
monochromatic
#1A1604 #4D420D #816F16 #B59C1F #DDC035

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816F16#FFFFFF#000000##FFFFFF
##816F161.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)
#80721D
Tritanopia (blue-blind)
#8C665F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f16;
/* rgb */ color: rgb(129, 111, 22);
/* oklch */ color: oklch(54.3% 0.104 96.8);
Tailwind
colors: {
  custom: {
    50: '#a9985c',
    500: '#816f16',
    950: '#000000',
  },
}
SCSS
$custom: #816f16;
$custom-light: #a9985c;
$custom-dark: #000000;
JSON
{
  "hex": "#816f16",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 49.907,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.10423,
    "h": 96.8
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#816F16
secondary
#3D51B6
accent
#58EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816F16

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

Preview Lab → · Contrast checker → · Palette generator →

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