#81741C#81741C

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

Color values

HEX#81741C
RGBrgb(129, 116, 28)
HSLhsl(52, 64%, 31%)
HSVhsv(52, 78%, 51%)
CMYKcmyk(0%, 10.1%, 78.3%, 49.4%)
CIE-LABlab(48.56, -5.07, 47.07)
CIE-LCHlch(48.56, 47.34, 96.15°)
OKLaboklab(55.49% -0.0191 0.1031)
OKLCHoklch(55.49% 0.105 100.5)
XYZxyz(15.5090, 17.2425, 3.6096)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81741C #1C2981
analogous
#81411C #81741C #5B811C
triadic
#81741C #1C8174 #741C81
tetradic
#81741C #1C8141 #1C2981 #811C5B
square
#81741C #1C8141 #1C2981 #811C5B
split-complementary
#81741C #1C5B81 #411C81
monochromatic
#1C1A06 #4F4711 #81741C #B3A127 #D6C342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81741C#FFFFFF#000000##FFFFFF
##81741C1.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)
#80710A
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#8B6B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #81741c;
/* rgb */ color: rgb(129, 116, 28);
/* oklch */ color: oklch(55.5% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#a99b60',
    500: '#81741c',
    950: '#000000',
  },
}
SCSS
$custom: #81741c;
$custom-light: #a99b60;
$custom-dark: #000000;
JSON
{
  "hex": "#81741c",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 52.277,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.10487,
    "h": 100.5
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#81741C
secondary
#4453B4
accent
#56E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81741C

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

Preview Lab → · Contrast checker → · Palette generator →

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