#816812#816812

#816812 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.7% C 0.102 H 91.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#816812
RGBrgb(129, 104, 18)
HSLhsl(46, 76%, 29%)
HSVhsv(46, 86%, 51%)
CMYKcmyk(0%, 19.4%, 86%, 49.4%)
CIE-LABlab(45.10, 1.41, 47.39)
CIE-LCHlch(45.10, 47.41, 88.29°)
OKLaboklab(52.73% -0.0017 0.1016)
OKLCHoklch(52.73% 0.102 91)
XYZxyz(14.1136, 14.6124, 2.6492)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816812 #122B81
analogous
#813012 #816812 #638112
triadic
#816812 #128168 #681281
tetradic
#816812 #128130 #122B81 #811263
square
#816812 #128130 #122B81 #811263
split-complementary
#816812 #126381 #301281
monochromatic
#1B1604 #4B3D0B #816812 #B79319 #E2B92C

Accessibility & contrast

On white

5.35
#816812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#816812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816812
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816812#FFFFFF#000000##FFFFFF
##8168121.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#7B6E18
Tritanopia (blue-blind)
#8C5E58
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #816812;
/* rgb */ color: rgb(129, 104, 18);
/* oklch */ color: oklch(52.7% 0.102 91.0);
Tailwind
colors: {
  custom: {
    50: '#aa925a',
    500: '#816812',
    950: '#000000',
  },
}
SCSS
$custom: #816812;
$custom-light: #aa925a;
$custom-dark: #000000;
JSON
{
  "hex": "#816812",
  "rgb": {
    "r": 129,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 46.486,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.10162,
    "h": 91
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#816812
secondary
#3855B7
accent
#60F236
background
#FAF8F5
surface
#F5F0E9
border
#CFCBC5
text
#110D04
muted
#807D79

Preview Lab

Preview with #816812

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

Preview Lab → · Contrast checker → · Palette generator →

#816812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva