#81794A#81794A

#81794A is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.066 H 99.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#81794A
RGBrgb(129, 121, 74)
HSLhsl(51, 27%, 40%)
HSVhsv(51, 43%, 51%)
CMYKcmyk(0%, 6.2%, 42.6%, 49.4%)
CIE-LABlab(50.50, -4.21, 26.85)
CIE-LCHlch(50.50, 27.18, 98.90°)
OKLaboklab(57.18% -0.0113 0.0655)
OKLCHoklch(57.18% 0.066 99.8)
XYZxyz(17.1270, 18.8368, 9.2109)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81794A #4A5281
analogous
#815E4A #81794A #6E814A
triadic
#81794A #4A8179 #794A81
tetradic
#81794A #4A815E #4A5281 #814A6E
square
#81794A #4A815E #4A5281 #814A6E
split-complementary
#81794A #4A6E81 #5E4A81
monochromatic
#33301D #5A5534 #81794A #A59C63 #BCB48A

Accessibility & contrast

On white

4.41
#81794A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#81794A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81794A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81794A#FFFFFF#000000##000000
##81794A1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817646
Deuteranopia (green-blind)
#847A4C
Tritanopia (blue-blind)
#89736D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #81794a;
/* rgb */ color: rgb(129, 121, 74);
/* oklch */ color: oklch(57.2% 0.066 99.8);
Tailwind
colors: {
  custom: {
    50: '#a79f7d',
    500: '#81794a',
    950: '#000000',
  },
}
SCSS
$custom: #81794a;
$custom-light: #a79f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#81794a",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 74
  },
  "hsl": {
    "h": 51.273,
    "s": 27.094,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.06644,
    "h": 99.8
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#81794A
secondary
#7F85A8
accent
#72C364
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #81794A

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

Preview Lab → · Contrast checker → · Palette generator →

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