#81702A#81702A

#81702A is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.7% C 0.091 H 95.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#81702A
RGBrgb(129, 112, 42)
HSLhsl(48, 51%, 34%)
HSVhsv(48, 67%, 51%)
CMYKcmyk(0%, 13.2%, 67.4%, 49.4%)
CIE-LABlab(47.53, -2.03, 40.09)
CIE-LCHlch(47.53, 40.14, 92.89°)
OKLaboklab(54.7% -0.0088 0.091)
OKLCHoklch(54.7% 0.091 95.5)
XYZxyz(15.2661, 16.4234, 4.5560)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81702A #2A3B81
analogous
#81442A #81702A #66812A
triadic
#81702A #2A8170 #702A81
tetradic
#81702A #2A8144 #2A3B81 #812A66
square
#81702A #2A8144 #2A3B81 #812A66
split-complementary
#81702A #2A6681 #442A81
monochromatic
#25200C #53481B #81702A #AF9839 #CAB45C

Accessibility & contrast

On white

4.90
#81702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#81702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #81702A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81702A#FFFFFF#000000##FFFFFF
##81702A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E22
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#8B6761
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #81702a;
/* rgb */ color: rgb(129, 112, 42);
/* oklch */ color: oklch(54.7% 0.091 95.5);
Tailwind
colors: {
  custom: {
    50: '#a89867',
    500: '#81702a',
    950: '#000000',
  },
}
SCSS
$custom: #81702a;
$custom-light: #a89867;
$custom-dark: #000000;
JSON
{
  "hex": "#81702a",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 48.276,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.09145,
    "h": 95.5
  },
  "luminance": 0.16423
}

Semantic roles & 50–950 ramp

primary
#81702A
secondary
#5769AF
accent
#69DA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #81702A

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

Preview Lab → · Contrast checker → · Palette generator →

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