#81731E#81731E

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

Color values

HEX#81731E
RGBrgb(129, 115, 30)
HSLhsl(52, 62%, 31%)
HSVhsv(52, 77%, 51%)
CMYKcmyk(0%, 10.9%, 76.7%, 49.4%)
CIE-LABlab(48.29, -4.41, 46.05)
CIE-LCHlch(48.29, 46.26, 95.47°)
OKLaboklab(55.27% -0.017 0.1014)
OKLCHoklch(55.27% 0.103 99.5)
XYZxyz(15.4191, 17.0231, 3.7017)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81731E #1E2C81
analogous
#81411E #81731E #5D811E
triadic
#81731E #1E8173 #731E81
tetradic
#81731E #1E8141 #1E2C81 #811E5D
square
#81731E #1E8141 #1E2C81 #811E5D
split-complementary
#81731E #1E5D81 #411E81
monochromatic
#1E1A07 #4F4712 #81731E #B39F2A #D4C046

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81731E#FFFFFF#000000##FFFFFF
##81731E1.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)
#7F700E
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#8B6A63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #81731e;
/* rgb */ color: rgb(129, 115, 30);
/* oklch */ color: oklch(55.3% 0.103 99.5);
Tailwind
colors: {
  custom: {
    50: '#a99b61',
    500: '#81731e',
    950: '#000000',
  },
}
SCSS
$custom: #81731e;
$custom-light: #a99b61;
$custom-dark: #000000;
JSON
{
  "hex": "#81731e",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 51.515,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.1028,
    "h": 99.5
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#81731E
secondary
#4756B4
accent
#59E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81731E

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

Preview Lab → · Contrast checker → · Palette generator →

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