#81741A#81741A

#81741A is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.106 H 100.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#81741A
RGBrgb(129, 116, 26)
HSLhsl(52, 66%, 30%)
HSVhsv(52, 80%, 51%)
CMYKcmyk(0%, 10.1%, 79.8%, 49.4%)
CIE-LABlab(48.55, -5.16, 47.78)
CIE-LCHlch(48.55, 48.06, 96.16°)
OKLaboklab(55.47% -0.0195 0.1042)
OKLCHoklch(55.47% 0.106 100.6)
XYZxyz(15.4859, 17.2332, 3.4877)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81741A #1A2781
analogous
#81401A #81741A #5A811A
triadic
#81741A #1A8174 #741A81
tetradic
#81741A #1A8140 #1A2781 #811A5A
square
#81741A #1A8140 #1A2781 #811A5A
split-complementary
#81741A #1A5A81 #401A81
monochromatic
#1B1805 #4E4610 #81741A #B4A224 #D8C43D

Accessibility & contrast

On white

4.72
#81741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#81741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #81741A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81741A#FFFFFF#000000##FFFFFF
##81741A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807005
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#8C6B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #81741a;
/* rgb */ color: rgb(129, 116, 26);
/* oklch */ color: oklch(55.5% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#a99b5f',
    500: '#81741a',
    950: '#000000',
  },
}
SCSS
$custom: #81741a;
$custom-light: #a99b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#81741a",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 52.427,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.10604,
    "h": 100.6
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#81741A
secondary
#4250B5
accent
#54E93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81741A

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

Preview Lab → · Contrast checker → · Palette generator →

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