#81791D#81791D

#81791D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.109 H 104.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#81791D
RGBrgb(129, 121, 29)
HSLhsl(55, 63%, 31%)
HSVhsv(55, 78%, 51%)
CMYKcmyk(0%, 6.2%, 77.5%, 49.4%)
CIE-LABlab(50.02, -7.82, 48.06)
CIE-LCHlch(50.02, 48.69, 99.24°)
OKLaboklab(56.64% -0.0267 0.1054)
OKLCHoklch(56.64% 0.109 104.2)
XYZxyz(16.1131, 18.4312, 3.8710)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81791D #1D2581
analogous
#81471D #81791D #57811D
triadic
#81791D #1D8179 #791D81
tetradic
#81791D #1D8147 #1D2581 #811D57
square
#81791D #1D8147 #1D2581 #811D57
split-complementary
#81791D #1D5781 #471D81
monochromatic
#1D1B07 #4F4A12 #81791D #B3A828 #D5C944

Accessibility & contrast

On white

4.48
#81791D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#81791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81791D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81791D#FFFFFF#000000##000000
##81791D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847509
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#8B7067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #81791d;
/* rgb */ color: rgb(129, 121, 29);
/* oklch */ color: oklch(56.6% 0.109 104.2);
Tailwind
colors: {
  custom: {
    50: '#a99f61',
    500: '#81791d',
    950: '#000000',
  },
}
SCSS
$custom: #81791d;
$custom-light: #a99f61;
$custom-dark: #000000;
JSON
{
  "hex": "#81791d",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 55.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.10877,
    "h": 104.2
  },
  "luminance": 0.18431
}

Semantic roles & 50–950 ramp

primary
#81791D
secondary
#464EB4
accent
#4FE641
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #81791D

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

Preview Lab → · Contrast checker → · Palette generator →

#81791D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva