#81702B#81702B

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

Color values

HEX#81702B
RGBrgb(129, 112, 43)
HSLhsl(48, 50%, 34%)
HSVhsv(48, 67%, 51%)
CMYKcmyk(0%, 13.2%, 66.7%, 49.4%)
CIE-LABlab(47.53, -1.96, 39.63)
CIE-LCHlch(47.53, 39.68, 92.83°)
OKLaboklab(54.71% -0.0085 0.0902)
OKLCHoklch(54.71% 0.091 95.4)
XYZxyz(15.2842, 16.4307, 4.6514)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81702B #2B3C81
analogous
#81452B #81702B #67812B
triadic
#81702B #2B8170 #702B81
tetradic
#81702B #2B8145 #2B3C81 #812B67
square
#81702B #2B8145 #2B3C81 #812B67
split-complementary
#81702B #2B6781 #452B81
monochromatic
#25200C #53481C #81702B #AF983A #C9B45D

Accessibility & contrast

On white

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

On black

4.29
#81702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##81702B#FFFFFF#000000##FFFFFF
##81702B1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81702b;
/* rgb */ color: rgb(129, 112, 43);
/* oklch */ color: oklch(54.7% 0.091 95.4);
Tailwind
colors: {
  custom: {
    50: '#a89868',
    500: '#81702b',
    950: '#000000',
  },
}
SCSS
$custom: #81702b;
$custom-light: #a89868;
$custom-dark: #000000;
JSON
{
  "hex": "#81702b",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 48.14,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54708,
    "c": 0.09061,
    "h": 95.4
  },
  "luminance": 0.1643
}

Semantic roles & 50–950 ramp

primary
#81702B
secondary
#596AAF
accent
#6ADA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #81702B

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

Preview Lab → · Contrast checker → · Palette generator →

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