#81701B#81701B

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

Color values

HEX#81701B
RGBrgb(129, 112, 27)
HSLhsl(50, 65%, 31%)
HSVhsv(50, 79%, 51%)
CMYKcmyk(0%, 13.2%, 79.1%, 49.4%)
CIE-LABlab(47.41, -2.85, 46.37)
CIE-LCHlch(47.41, 46.45, 93.51°)
OKLaboklab(54.57% -0.0129 0.1014)
OKLCHoklch(54.57% 0.102 97.3)
XYZxyz(15.0460, 16.3354, 3.3972)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81701B #1B2C81
analogous
#813D1B #81701B #5F811B
triadic
#81701B #1B8170 #701B81
tetradic
#81701B #1B813D #1B2C81 #811B5F
square
#81701B #1B813D #1B2C81 #811B5F
split-complementary
#81701B #1B5F81 #3D1B81
monochromatic
#1C1806 #4E4410 #81701B #B49C26 #D7BE3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81701B#FFFFFF#000000##FFFFFF
##81701B1.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)
#7C6D09
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#8C6760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #81701b;
/* rgb */ color: rgb(129, 112, 27);
/* oklch */ color: oklch(54.6% 0.102 97.3);
Tailwind
colors: {
  custom: {
    50: '#a9985f',
    500: '#81701b',
    950: '#000000',
  },
}
SCSS
$custom: #81701b;
$custom-light: #a9985f;
$custom-dark: #000000;
JSON
{
  "hex": "#81701b",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 50,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.10223,
    "h": 97.3
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#81701B
secondary
#4356B5
accent
#5CE83F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #81701B

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

Preview Lab → · Contrast checker → · Palette generator →

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