#816F10#816F10

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

Color values

HEX#816F10
RGBrgb(129, 111, 16)
HSLhsl(50, 78%, 28%)
HSVhsv(50, 88%, 51%)
CMYKcmyk(0%, 14%, 87.6%, 49.4%)
CIE-LABlab(47.07, -2.67, 49.63)
CIE-LCHlch(47.07, 49.70, 93.08°)
OKLaboklab(54.29% -0.0134 0.1061)
OKLCHoklch(54.29% 0.107 97.2)
XYZxyz(14.8321, 16.0742, 2.8115)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816F10 #102281
analogous
#813610 #816F10 #5A8110
triadic
#816F10 #10816F #6F1081
tetradic
#816F10 #108136 #102281 #81105A
square
#816F10 #108136 #102281 #81105A
split-complementary
#816F10 #105A81 #361081
monochromatic
#1B1703 #4B4009 #816F10 #B79E17 #E4C627

Accessibility & contrast

On white

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

On black

4.21
#816F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##816F10#FFFFFF#000000##FFFFFF
##816F101.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#807218
Tritanopia (blue-blind)
#8C665E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #816f10;
/* rgb */ color: rgb(129, 111, 16);
/* oklch */ color: oklch(54.3% 0.107 97.2);
Tailwind
colors: {
  custom: {
    50: '#aa975a',
    500: '#816f10',
    950: '#000000',
  },
}
SCSS
$custom: #816f10;
$custom-light: #aa975a;
$custom-dark: #000000;
JSON
{
  "hex": "#816f10",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 16
  },
  "hsl": {
    "h": 50.442,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.10695,
    "h": 97.2
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#816F10
secondary
#364AB7
accent
#52F433
background
#FAF9F5
surface
#F5F2E9
border
#CFCCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816F10

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

Preview Lab → · Contrast checker → · Palette generator →

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