#81701A#81701A

#81701A is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.103 H 97.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#81701A
RGBrgb(129, 112, 26)
HSLhsl(50, 66%, 30%)
HSVhsv(50, 80%, 51%)
CMYKcmyk(0%, 13.2%, 79.8%, 49.4%)
CIE-LABlab(47.41, -2.89, 46.73)
CIE-LCHlch(47.41, 46.82, 93.54°)
OKLaboklab(54.57% -0.0131 0.102)
OKLCHoklch(54.57% 0.103 97.3)
XYZxyz(15.0347, 16.3308, 3.3373)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81701A #1A2B81
analogous
#813C1A #81701A #5E811A
triadic
#81701A #1A8170 #701A81
tetradic
#81701A #1A813C #1A2B81 #811A5E
square
#81701A #1A813C #1A2B81 #811A5E
split-complementary
#81701A #1A5E81 #3C1A81
monochromatic
#1B1805 #4E4410 #81701A #B49C24 #D8BE3D

Accessibility & contrast

On white

4.92
#81701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#81701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #81701A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81701A#FFFFFF#000000##FFFFFF
##81701A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D07
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#8C6760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #81701a;
/* rgb */ color: rgb(129, 112, 26);
/* oklch */ color: oklch(54.6% 0.103 97.3);
Tailwind
colors: {
  custom: {
    50: '#a9985e',
    500: '#81701a',
    950: '#000000',
  },
}
SCSS
$custom: #81701a;
$custom-light: #a9985e;
$custom-dark: #000000;
JSON
{
  "hex": "#81701a",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 50.097,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.10281,
    "h": 97.3
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#81701A
secondary
#4255B5
accent
#5BE93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #81701A

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

Preview Lab → · Contrast checker → · Palette generator →

#81701A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva