#81731D#81731D

#81731D is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.103 H 99.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#81731D
RGBrgb(129, 115, 29)
HSLhsl(52, 63%, 31%)
HSVhsv(52, 78%, 51%)
CMYKcmyk(0%, 10.9%, 77.5%, 49.4%)
CIE-LABlab(48.28, -4.46, 46.43)
CIE-LCHlch(48.28, 46.64, 95.49°)
OKLaboklab(55.27% -0.0173 0.102)
OKLCHoklch(55.27% 0.103 99.6)
XYZxyz(15.4065, 17.0181, 3.6355)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81731D #1D2B81
analogous
#81411D #81731D #5D811D
triadic
#81731D #1D8173 #731D81
tetradic
#81731D #1D8141 #1D2B81 #811D5D
square
#81731D #1D8141 #1D2B81 #811D5D
split-complementary
#81731D #1D5D81 #411D81
monochromatic
#1D1A07 #4F4612 #81731D #B3A028 #D5C144

Accessibility & contrast

On white

4.77
#81731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#81731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #81731D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81731D#FFFFFF#000000##FFFFFF
##81731D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700C
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#8C6A62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #81731d;
/* rgb */ color: rgb(129, 115, 29);
/* oklch */ color: oklch(55.3% 0.103 99.6);
Tailwind
colors: {
  custom: {
    50: '#a99b60',
    500: '#81731d',
    950: '#000000',
  },
}
SCSS
$custom: #81731d;
$custom-light: #a99b60;
$custom-dark: #000000;
JSON
{
  "hex": "#81731d",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 51.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.10342,
    "h": 99.6
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#81731D
secondary
#4655B4
accent
#59E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81731D

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

Preview Lab → · Contrast checker → · Palette generator →

#81731D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva