#81731A#81731A

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

Color values

HEX#81731A
RGBrgb(129, 115, 26)
HSLhsl(52, 66%, 30%)
HSVhsv(52, 80%, 51%)
CMYKcmyk(0%, 10.9%, 79.8%, 49.4%)
CIE-LABlab(48.26, -4.59, 47.52)
CIE-LCHlch(48.26, 47.74, 95.52°)
OKLaboklab(55.25% -0.0179 0.1037)
OKLCHoklch(55.25% 0.105 99.8)
XYZxyz(15.3712, 17.0039, 3.4495)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81731A #1A2881
analogous
#81401A #81731A #5B811A
triadic
#81731A #1A8173 #731A81
tetradic
#81731A #1A8140 #1A2881 #811A5B
square
#81731A #1A8140 #1A2881 #811A5B
split-complementary
#81731A #1A5B81 #401A81
monochromatic
#1B1805 #4E4610 #81731A #B4A024 #D8C33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81731A#FFFFFF#000000##FFFFFF
##81731A1.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)
#7F7006
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#8C6A62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #81731a;
/* rgb */ color: rgb(129, 115, 26);
/* oklch */ color: oklch(55.2% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#a99a5f',
    500: '#81731a',
    950: '#000000',
  },
}
SCSS
$custom: #81731a;
$custom-light: #a99a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#81731a",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 51.845,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.1052,
    "h": 99.8
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#81731A
secondary
#4252B5
accent
#56E93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81731A

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

Preview Lab → · Contrast checker → · Palette generator →

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