#81701F#81701F

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

Color values

HEX#81701F
RGBrgb(129, 112, 31)
HSLhsl(50, 61%, 31%)
HSVhsv(50, 76%, 51%)
CMYKcmyk(0%, 13.2%, 76%, 49.4%)
CIE-LABlab(47.44, -2.66, 44.84)
CIE-LCHlch(47.44, 44.92, 93.40°)
OKLaboklab(54.6% -0.0119 0.099)
OKLCHoklch(54.6% 0.1 96.9)
XYZxyz(15.0955, 16.3552, 3.6578)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81701F #1F3081
analogous
#813F1F #81701F #61811F
triadic
#81701F #1F8170 #701F81
tetradic
#81701F #1F813F #1F3081 #811F61
square
#81701F #1F813F #1F3081 #811F61
split-complementary
#81701F #1F6181 #3F1F81
monochromatic
#1E1A07 #504513 #81701F #B29B2B #D3BB47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81701F#FFFFFF#000000##FFFFFF
##81701F1.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)
#7C6D11
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#8C6760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #81701f;
/* rgb */ color: rgb(129, 112, 31);
/* oklch */ color: oklch(54.6% 0.100 96.9);
Tailwind
colors: {
  custom: {
    50: '#a99861',
    500: '#81701f',
    950: '#000000',
  },
}
SCSS
$custom: #81701f;
$custom-light: #a99861;
$custom-dark: #000000;
JSON
{
  "hex": "#81701f",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 49.592,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.546,
    "c": 0.09973,
    "h": 96.9
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#81701F
secondary
#485BB4
accent
#5FE443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #81701F

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

Preview Lab → · Contrast checker → · Palette generator →

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