#81701C#81701C

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

Color values

HEX#81701C
RGBrgb(129, 112, 28)
HSLhsl(50, 64%, 31%)
HSVhsv(50, 78%, 51%)
CMYKcmyk(0%, 13.2%, 78.3%, 49.4%)
CIE-LABlab(47.42, -2.80, 46.00)
CIE-LCHlch(47.42, 46.08, 93.49°)
OKLaboklab(54.58% -0.0127 0.1008)
OKLCHoklch(54.58% 0.102 97.2)
XYZxyz(15.0578, 16.3401, 3.4592)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81701C #1C2D81
analogous
#813D1C #81701C #5F811C
triadic
#81701C #1C8170 #701C81
tetradic
#81701C #1C813D #1C2D81 #811C5F
square
#81701C #1C813D #1C2D81 #811C5F
split-complementary
#81701C #1C5F81 #3D1C81
monochromatic
#1C1906 #4F4411 #81701C #B39C27 #D6BD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81701C#FFFFFF#000000##FFFFFF
##81701C1.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)
#7C6D0C
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#8C6760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #81701c;
/* rgb */ color: rgb(129, 112, 28);
/* oklch */ color: oklch(54.6% 0.102 97.2);
Tailwind
colors: {
  custom: {
    50: '#a9985f',
    500: '#81701c',
    950: '#000000',
  },
}
SCSS
$custom: #81701c;
$custom-light: #a9985f;
$custom-dark: #000000;
JSON
{
  "hex": "#81701c",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 49.901,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54578,
    "c": 0.10163,
    "h": 97.2
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#81701C
secondary
#4457B4
accent
#5DE740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #81701C

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

Preview Lab → · Contrast checker → · Palette generator →

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