#81741F#81741F

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

Color values

HEX#81741F
RGBrgb(129, 116, 31)
HSLhsl(52, 61%, 31%)
HSVhsv(52, 76%, 51%)
CMYKcmyk(0%, 10.1%, 76%, 49.4%)
CIE-LABlab(48.58, -4.93, 45.94)
CIE-LCHlch(48.58, 46.21, 96.12°)
OKLaboklab(55.51% -0.0184 0.1014)
OKLCHoklch(55.51% 0.103 100.3)
XYZxyz(15.5467, 17.2576, 3.8082)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81741F #1F2C81
analogous
#81431F #81741F #5D811F
triadic
#81741F #1F8174 #741F81
tetradic
#81741F #1F8143 #1F2C81 #811F5D
square
#81741F #1F8143 #1F2C81 #811F5D
split-complementary
#81741F #1F5D81 #431F81
monochromatic
#1E1B07 #504813 #81741F #B2A02B #D3C047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81741F#FFFFFF#000000##FFFFFF
##81741F1.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)
#807110
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#8B6B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #81741f;
/* rgb */ color: rgb(129, 116, 31);
/* oklch */ color: oklch(55.5% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#a99b61',
    500: '#81741f',
    950: '#000000',
  },
}
SCSS
$custom: #81741f;
$custom-light: #a99b61;
$custom-dark: #000000;
JSON
{
  "hex": "#81741f",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 52.041,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.103,
    "h": 100.3
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#81741F
secondary
#4856B4
accent
#59E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #81741F

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

Preview Lab → · Contrast checker → · Palette generator →

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