#81794C#81794C

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

Color values

HEX#81794C
RGBrgb(129, 121, 76)
HSLhsl(51, 26%, 40%)
HSVhsv(51, 41%, 51%)
CMYKcmyk(0%, 6.2%, 41.1%, 49.4%)
CIE-LABlab(50.53, -3.97, 25.78)
CIE-LCHlch(50.53, 26.08, 98.75°)
OKLaboklab(57.22% -0.0104 0.0631)
OKLCHoklch(57.22% 0.064 99.4)
XYZxyz(17.1955, 18.8642, 9.5714)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81794C #4C5481
analogous
#815E4C #81794C #6F814C
triadic
#81794C #4C8179 #794C81
tetradic
#81794C #4C815E #4C5481 #814C6F
square
#81794C #4C815E #4C5481 #814C6F
split-complementary
#81794C #4C6F81 #5E4C81
monochromatic
#34311F #5A5535 #81794C #A59B66 #BBB48C

Accessibility & contrast

On white

4.40
#81794C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##81794C#FFFFFF#000000##000000
##81794C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817649
Deuteranopia (green-blind)
#837A4E
Tritanopia (blue-blind)
#88736E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #81794c;
/* rgb */ color: rgb(129, 121, 76);
/* oklch */ color: oklch(57.2% 0.064 99.4);
Tailwind
colors: {
  custom: {
    50: '#a69f7e',
    500: '#81794c',
    950: '#000000',
  },
}
SCSS
$custom: #81794c;
$custom-light: #a69f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#81794c",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 50.943,
    "s": 25.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.57215,
    "c": 0.06398,
    "h": 99.4
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

primary
#81794C
secondary
#8187A8
accent
#74C266
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #81794C

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

Preview Lab → · Contrast checker → · Palette generator →

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